#2E3470#2E3470

#2E3470 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.102 H 275.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2E3470
RGBrgb(46, 52, 112)
HSLhsl(235, 42%, 31%)
HSVhsv(235, 59%, 44%)
CMYKcmyk(58.9%, 53.6%, 0%, 56.1%)
CIE-LABlab(24.34, 16.87, -35.68)
CIE-LCHlch(24.34, 39.46, 295.31°)
OKLaboklab(35.43% 0.01 -0.102)
OKLCHoklch(35.43% 0.102 275.6)
XYZxyz(5.2784, 4.2063, 15.8598)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3470 #706A2E
analogous
#2E5570 #2E3470 #492E70
triadic
#2E3470 #702E34 #34702E
tetradic
#2E3470 #702E55 #706A2E #2E7049
square
#2E3470 #702E55 #706A2E #2E7049
split-complementary
#2E3470 #70492E #55702E
monochromatic
#0A0C19 #1C2045 #2E3470 #40489B #5C65BC

Accessibility & contrast

On white

11.40
#2E3470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E3470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3470
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3470#FFFFFF#000000##FFFFFF
##2E34701.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#09376F
Tritanopia (blue-blind)
#09424C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e3470;
/* rgb */ color: rgb(46, 52, 112);
/* oklch */ color: oklch(35.4% 0.102 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d6b99',
    500: '#2e3470',
    950: '#000000',
  },
}
SCSS
$custom: #2e3470;
$custom-light: #6d6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3470",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 112
  },
  "hsl": {
    "h": 234.545,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.10245,
    "h": 275.6
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#2E3470
secondary
#A19B58
accent
#C656D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E3470

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

Preview Lab → · Contrast checker → · Palette generator →

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