#2E3476#2E3476

#2E3476 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.9% C 0.112 H 275.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2E3476
RGBrgb(46, 52, 118)
HSLhsl(235, 44%, 32%)
HSVhsv(235, 61%, 46%)
CMYKcmyk(61%, 55.9%, 0%, 53.7%)
CIE-LABlab(24.78, 19.06, -38.80)
CIE-LCHlch(24.78, 43.23, 296.17°)
OKLaboklab(35.9% 0.0104 -0.1112)
OKLCHoklch(35.9% 0.112 275.4)
XYZxyz(5.6237, 4.3444, 17.6782)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3476 #76702E
analogous
#2E5876 #2E3476 #4C2E76
triadic
#2E3476 #762E34 #34762E
tetradic
#2E3476 #762E58 #76702E #2E764C
square
#2E3476 #762E58 #76702E #2E764C
split-complementary
#2E3476 #764C2E #58762E
monochromatic
#0C0D1E #1D214A #2E3476 #3F47A2 #5E66C0

Accessibility & contrast

On white

11.24
#2E3476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E3476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3476
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3476#FFFFFF#000000##FFFFFF
##2E34761.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E78
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3476;
/* rgb */ color: rgb(46, 52, 118);
/* oklch */ color: oklch(35.9% 0.112 275.4);
Tailwind
colors: {
  custom: {
    50: '#6e6b9e',
    500: '#2e3476',
    950: '#000000',
  },
}
SCSS
$custom: #2e3476;
$custom-light: #6e6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3476",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 235,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35899,
    "c": 0.11165,
    "h": 275.4
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#2E3476
secondary
#A7A059
accent
#C954D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2E3476

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

Preview Lab → · Contrast checker → · Palette generator →

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