#2E367B#2E367B

#2E367B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.7% C 0.116 H 274.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2E367B
RGBrgb(46, 54, 123)
HSLhsl(234, 46%, 33%)
HSVhsv(234, 63%, 48%)
CMYKcmyk(62.6%, 56.1%, 0%, 51.8%)
CIE-LABlab(25.71, 19.52, -40.46)
CIE-LCHlch(25.71, 44.93, 295.76°)
OKLaboklab(36.71% 0.0085 -0.116)
OKLCHoklch(36.71% 0.116 274.2)
XYZxyz(6.0199, 4.6488, 19.3151)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E367B #7B732E
analogous
#2E5C7B #2E367B #4C2E7B
triadic
#2E367B #7B2E36 #367B2E
tetradic
#2E367B #7B2E5C #7B732E #2E7B4C
square
#2E367B #7B2E5C #7B732E #2E7B4C
split-complementary
#2E367B #7B4C2E #5C7B2E
monochromatic
#0D0F22 #1D224E #2E367B #3F4AA8 #606AC3

Accessibility & contrast

On white

10.88
#2E367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E367B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E367B#FFFFFF#000000##FFFFFF
##2E367B1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e367b;
/* rgb */ color: rgb(46, 54, 123);
/* oklch */ color: oklch(36.7% 0.116 274.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ca2',
    500: '#2e367b',
    950: '#000000',
  },
}
SCSS
$custom: #2e367b;
$custom-light: #6f6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e367b",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 233.766,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36715,
    "c": 0.11634,
    "h": 274.2
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#2E367B
secondary
#AAA25B
accent
#C853D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E367B

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

Preview Lab → · Contrast checker → · Palette generator →

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