#2E3E8D#2E3E8D

#2E3E8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.132 H 270.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2E3E8D
RGBrgb(46, 62, 141)
HSLhsl(230, 51%, 37%)
HSVhsv(230, 67%, 55%)
CMYKcmyk(67.4%, 56%, 0%, 44.7%)
CIE-LABlab(29.28, 20.75, -45.91)
CIE-LCHlch(29.28, 50.38, 294.32°)
OKLaboklab(39.83% 0.0015 -0.132)
OKLCHoklch(39.83% 0.132 270.6)
XYZxyz(7.6554, 5.9485, 25.9389)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3E8D #8D7D2E
analogous
#2E6E8D #2E3E8D #4E2E8D
triadic
#2E3E8D #8D2E3E #3E8D2E
tetradic
#2E3E8D #8D2E6E #8D7D2E #2E8D4E
square
#2E3E8D #8D2E6E #8D7D2E #2E8D4E
split-complementary
#2E3E8D #8D4E2E #6E8D2E
monochromatic
#101531 #1F2A5F #2E3E8D #3D52BB #6879CE

Accessibility & contrast

On white

9.59
#2E3E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E3E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3E8D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3E8D#FFFFFF#000000##FFFFFF
##2E3E8D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e3e8d;
/* rgb */ color: rgb(46, 62, 141);
/* oklch */ color: oklch(39.8% 0.132 270.6);
Tailwind
colors: {
  custom: {
    50: '#7273af',
    500: '#2e3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e3e8d;
$custom-light: #7273af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3e8d",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 229.895,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.13197,
    "h": 270.6
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#2E3E8D
secondary
#B5A762
accent
#C34EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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