#2E3EA2#2E3EA2

#2E3EA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.162 H 270.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2E3EA2
RGBrgb(46, 62, 162)
HSLhsl(232, 56%, 41%)
HSVhsv(232, 72%, 64%)
CMYKcmyk(71.6%, 61.7%, 0%, 36.5%)
CIE-LABlab(30.96, 28.56, -55.99)
CIE-LCHlch(30.96, 62.86, 297.03°)
OKLaboklab(41.6% 0.0018 -0.1616)
OKLCHoklch(41.6% 0.162 270.7)
XYZxyz(9.3687, 6.6338, 34.9621)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EA2 #A2922E
analogous
#2E78A2 #2E3EA2 #582EA2
triadic
#2E3EA2 #A22E3E #3EA22E
tetradic
#2E3EA2 #A22E78 #A2922E #2EA258
square
#2E3EA2 #A22E78 #A2922E #2EA258
split-complementary
#2E3EA2 #A2582E #78A22E
monochromatic
#131A43 #202C72 #2E3EA2 #4356CA #7381D7

Accessibility & contrast

On white

9.02
#2E3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EA2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EA2#FFFFFF#000000##FFFFFF
##2E3EA21.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e3ea2;
/* rgb */ color: rgb(46, 62, 162);
/* oklch */ color: oklch(41.6% 0.162 270.7);
Tailwind
colors: {
  custom: {
    50: '#7773be',
    500: '#2e3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ea2;
$custom-light: #7773be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ea2",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 231.724,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.1616,
    "h": 270.7
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#2E3EA2
secondary
#BFB46D
accent
#CA49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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