#2E367D#2E367D

#2E367D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.119 H 274.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2E367D
RGBrgb(46, 54, 125)
HSLhsl(234, 46%, 34%)
HSVhsv(234, 63%, 49%)
CMYKcmyk(63.2%, 56.8%, 0%, 51%)
CIE-LABlab(25.86, 20.26, -41.48)
CIE-LCHlch(25.86, 46.16, 296.03°)
OKLaboklab(36.88% 0.0086 -0.119)
OKLCHoklch(36.88% 0.119 274.1)
XYZxyz(6.1463, 4.6994, 19.9812)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E367D #7D752E
analogous
#2E5D7D #2E367D #4D2E7D
triadic
#2E367D #7D2E36 #367D2E
tetradic
#2E367D #7D2E5D #7D752E #2E7D4D
square
#2E367D #7D2E5D #7D752E #2E7D4D
split-complementary
#2E367D #7D4D2E #5D7D2E
monochromatic
#0D0F24 #1E2350 #2E367D #3E49AA #616BC5

Accessibility & contrast

On white

10.82
#2E367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E367D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E367D#FFFFFF#000000##FFFFFF
##2E367D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e367d;
/* rgb */ color: rgb(46, 54, 125);
/* oklch */ color: oklch(36.9% 0.119 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f6ca3',
    500: '#2e367d',
    950: '#000000',
  },
}
SCSS
$custom: #2e367d;
$custom-light: #6f6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e367d",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 233.924,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36876,
    "c": 0.11934,
    "h": 274.1
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#2E367D
secondary
#ABA35B
accent
#C852D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E367D

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

Preview Lab → · Contrast checker → · Palette generator →

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