#2E396E#2E396E

#2E396E is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.092 H 272.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2E396E
RGBrgb(46, 57, 110)
HSLhsl(230, 41%, 31%)
HSVhsv(230, 58%, 43%)
CMYKcmyk(58.2%, 48.2%, 0%, 56.9%)
CIE-LABlab(25.66, 12.68, -32.28)
CIE-LCHlch(25.66, 34.68, 291.45°)
OKLaboklab(36.39% 0.0036 -0.0919)
OKLCHoklch(36.39% 0.092 272.3)
XYZxyz(5.4034, 4.6325, 15.3583)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E396E #6E632E
analogous
#2E596E #2E396E #432E6E
triadic
#2E396E #6E2E39 #396E2E
tetradic
#2E396E #6E2E59 #6E632E #2E6E43
square
#2E396E #6E2E59 #6E632E #2E6E43
split-complementary
#2E396E #6E432E #596E2E
monochromatic
#0A0C18 #1C2343 #2E396E #404F99 #5C6CBB

Accessibility & contrast

On white

10.90
#2E396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E396E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E396E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E396E#FFFFFF#000000##FFFFFF
##2E396E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214070
Deuteranopia (green-blind)
#193A6D
Tritanopia (blue-blind)
#0B454E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e396e;
/* rgb */ color: rgb(46, 57, 110);
/* oklch */ color: oklch(36.4% 0.092 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c6f98',
    500: '#2e396e',
    950: '#000000',
  },
}
SCSS
$custom: #2e396e;
$custom-light: #6c6f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e396e",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 229.688,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36386,
    "c": 0.09201,
    "h": 272.3
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#2E396E
secondary
#9F9358
accent
#BC57D1
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E396E

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

Preview Lab → · Contrast checker → · Palette generator →

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