#2E3CA2#2E3CA2

#2E3CA2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.164 H 271.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2E3CA2
RGBrgb(46, 60, 162)
HSLhsl(233, 56%, 41%)
HSVhsv(233, 72%, 64%)
CMYKcmyk(71.6%, 63%, 0%, 36.5%)
CIE-LABlab(30.45, 29.88, -56.82)
CIE-LCHlch(30.45, 64.20, 297.73°)
OKLaboklab(41.23% 0.0033 -0.164)
OKLCHoklch(41.23% 0.164 271.2)
XYZxyz(9.2619, 6.4203, 34.9265)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CA2 #A2942E
analogous
#2E76A2 #2E3CA2 #5A2EA2
triadic
#2E3CA2 #A22E3C #3CA22E
tetradic
#2E3CA2 #A22E76 #A2942E #2EA25A
square
#2E3CA2 #A22E76 #A2942E #2EA25A
split-complementary
#2E3CA2 #A25A2E #76A22E
monochromatic
#131943 #202A72 #2E3CA2 #4354CA #737FD7

Accessibility & contrast

On white

9.19
#2E3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CA2
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CA2#FFFFFF#000000##FFFFFF
##2E3CA21.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e3ca2;
/* rgb */ color: rgb(46, 60, 162);
/* oklch */ color: oklch(41.2% 0.164 271.2);
Tailwind
colors: {
  custom: {
    50: '#7771be',
    500: '#2e3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ca2;
$custom-light: #7771be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ca2",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 232.759,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.16408,
    "h": 271.2
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#2E3CA2
secondary
#BFB56D
accent
#CD49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E3CA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E3CA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva