#2E3CA5#2E3CA5

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

Color values

HEX#2E3CA5
RGBrgb(46, 60, 165)
HSLhsl(233, 56%, 41%)
HSVhsv(233, 72%, 65%)
CMYKcmyk(72.1%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.71, 30.97, -58.21)
CIE-LCHlch(30.71, 65.94, 298.02°)
OKLaboklab(41.5% 0.0032 -0.1681)
OKLCHoklch(41.5% 0.168 271.1)
XYZxyz(9.5318, 6.5282, 36.3477)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CA5 #A5972E
analogous
#2E78A5 #2E3CA5 #5C2EA5
triadic
#2E3CA5 #A52E3C #3CA52E
tetradic
#2E3CA5 #A52E78 #A5972E #2EA55C
square
#2E3CA5 #A52E78 #A5972E #2EA55C
split-complementary
#2E3CA5 #A55C2E #78A52E
monochromatic
#131945 #212B75 #2E3CA5 #4555CB #7581D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3CA5#FFFFFF#000000##FFFFFF
##2E3CA51.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)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e3ca5;
/* rgb */ color: rgb(46, 60, 165);
/* oklch */ color: oklch(41.5% 0.168 271.1);
Tailwind
colors: {
  custom: {
    50: '#7871c1',
    500: '#2e3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ca5;
$custom-light: #7871c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ca5",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 232.941,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.16814,
    "h": 271.1
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#2E3CA5
secondary
#C0B76F
accent
#CE48E0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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