#2E368B#2E368B

#2E368B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.140 H 273.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2E368B
RGBrgb(46, 54, 139)
HSLhsl(235, 50%, 36%)
HSVhsv(235, 67%, 55%)
CMYKcmyk(66.9%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.97, 25.41, -48.43)
CIE-LCHlch(26.97, 54.69, 297.69°)
OKLaboklab(38.05% 0.0088 -0.1395)
OKLCHoklch(38.05% 0.14 273.6)
XYZxyz(7.1045, 5.0826, 25.0277)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E368B #8B832E
analogous
#2E658B #2E368B #552E8B
triadic
#2E368B #8B2E36 #368B2E
tetradic
#2E368B #8B2E65 #8B832E #2E8B55
square
#2E368B #8B2E65 #8B832E #2E8B55
split-complementary
#2E368B #8B552E #658B2E
monochromatic
#10122F #1F245D #2E368B #3D48B9 #6770CD

Accessibility & contrast

On white

10.41
#2E368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E368B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E368B#FFFFFF#000000##FFFFFF
##2E368B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e368b;
/* rgb */ color: rgb(46, 54, 139);
/* oklch */ color: oklch(38.1% 0.140 273.6);
Tailwind
colors: {
  custom: {
    50: '#726dae',
    500: '#2e368b',
    950: '#000000',
  },
}
SCSS
$custom: #2e368b;
$custom-light: #726dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e368b",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 234.839,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38051,
    "c": 0.13974,
    "h": 273.6
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#2E368B
secondary
#B3AC61
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E368B

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

Preview Lab → · Contrast checker → · Palette generator →

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