#2E367A#2E367A

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

Color values

HEX#2E367A
RGBrgb(46, 54, 122)
HSLhsl(234, 45%, 33%)
HSVhsv(234, 62%, 48%)
CMYKcmyk(62.3%, 55.7%, 0%, 52.2%)
CIE-LABlab(25.64, 19.15, -39.95)
CIE-LCHlch(25.64, 44.31, 295.61°)
OKLaboklab(36.64% 0.0084 -0.1145)
OKLCHoklch(36.64% 0.115 274.2)
XYZxyz(5.9576, 4.6239, 18.9871)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E367A #7A722E
analogous
#2E5C7A #2E367A #4C2E7A
triadic
#2E367A #7A2E36 #367A2E
tetradic
#2E367A #7A2E5C #7A722E #2E7A4C
square
#2E367A #7A2E5C #7A722E #2E7A4C
split-complementary
#2E367A #7A4C2E #5C7A2E
monochromatic
#0C0F21 #1D224E #2E367A #3F4AA6 #606AC3

Accessibility & contrast

On white

10.91
#2E367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E367A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E367A#FFFFFF#000000##FFFFFF
##2E367A1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e367a;
/* rgb */ color: rgb(46, 54, 122);
/* oklch */ color: oklch(36.6% 0.115 274.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ca1',
    500: '#2e367a',
    950: '#000000',
  },
}
SCSS
$custom: #2e367a;
$custom-light: #6f6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e367a",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 233.684,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36635,
    "c": 0.11484,
    "h": 274.2
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#2E367A
secondary
#AAA15A
accent
#C753D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E367A

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

Preview Lab → · Contrast checker → · Palette generator →

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