#2E3E89#2E3E89

#2E3E89 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.126 H 270.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2E3E89
RGBrgb(46, 62, 137)
HSLhsl(229, 50%, 36%)
HSVhsv(229, 66%, 54%)
CMYKcmyk(66.4%, 54.7%, 0%, 46.3%)
CIE-LABlab(28.98, 19.25, -43.92)
CIE-LCHlch(28.98, 47.96, 293.67°)
OKLaboklab(39.51% 0.0012 -0.1261)
OKLCHoklch(39.51% 0.126 270.5)
XYZxyz(7.3632, 5.8316, 24.3996)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3E89 #89792E
analogous
#2E6B89 #2E3E89 #4B2E89
triadic
#2E3E89 #892E3E #3E892E
tetradic
#2E3E89 #892E6B #89792E #2E894B
square
#2E3E89 #892E6B #89792E #2E894B
split-complementary
#2E3E89 #894B2E #6B892E
monochromatic
#0F152D #1F295B #2E3E89 #3D53B7 #6678CC

Accessibility & contrast

On white

9.69
#2E3E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E3E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3E89
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3E89#FFFFFF#000000##FFFFFF
##2E3E891.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C498C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e3e89;
/* rgb */ color: rgb(46, 62, 137);
/* oklch */ color: oklch(39.5% 0.126 270.5);
Tailwind
colors: {
  custom: {
    50: '#7173ac',
    500: '#2e3e89',
    950: '#000000',
  },
}
SCSS
$custom: #2e3e89;
$custom-light: #7173ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3e89",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 229.451,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.12612,
    "h": 270.5
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#2E3E89
secondary
#B2A460
accent
#C14FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E3E89

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

Preview Lab → · Contrast checker → · Palette generator →

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