#2E3DA2#2E3DA2

#2E3DA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.163 H 270.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2E3DA2
RGBrgb(46, 61, 162)
HSLhsl(232, 56%, 41%)
HSVhsv(232, 72%, 64%)
CMYKcmyk(71.6%, 62.3%, 0%, 36.5%)
CIE-LABlab(30.70, 29.22, -56.41)
CIE-LCHlch(30.70, 63.53, 297.38°)
OKLaboklab(41.41% 0.0026 -0.1628)
OKLCHoklch(41.41% 0.163 270.9)
XYZxyz(9.3148, 6.5260, 34.9442)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DA2 #A2932E
analogous
#2E77A2 #2E3DA2 #592EA2
triadic
#2E3DA2 #A22E3D #3DA22E
tetradic
#2E3DA2 #A22E77 #A2932E #2EA259
square
#2E3DA2 #A22E77 #A2932E #2EA259
split-complementary
#2E3DA2 #A2592E #77A22E
monochromatic
#131943 #202B72 #2E3DA2 #4355CA #7380D7

Accessibility & contrast

On white

9.11
#2E3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DA2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DA2#FFFFFF#000000##FFFFFF
##2E3DA21.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e3da2;
/* rgb */ color: rgb(46, 61, 162);
/* oklch */ color: oklch(41.4% 0.163 270.9);
Tailwind
colors: {
  custom: {
    50: '#7772be',
    500: '#2e3da2',
    950: '#000000',
  },
}
SCSS
$custom: #2e3da2;
$custom-light: #7772be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3da2",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 232.241,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41412,
    "c": 0.16284,
    "h": 270.9
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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