#2E3D8D#2E3D8D

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

Color values

HEX#2E3D8D
RGBrgb(46, 61, 141)
HSLhsl(231, 51%, 37%)
HSVhsv(231, 67%, 55%)
CMYKcmyk(67.4%, 56.7%, 0%, 44.7%)
CIE-LABlab(29.01, 21.43, -46.36)
CIE-LCHlch(29.01, 51.07, 294.81°)
OKLaboklab(39.62% 0.0024 -0.1333)
OKLCHoklch(39.62% 0.133 271)
XYZxyz(7.6016, 5.8407, 25.9209)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D8D #8D7E2E
analogous
#2E6D8D #2E3D8D #4F2E8D
triadic
#2E3D8D #8D2E3D #3D8D2E
tetradic
#2E3D8D #8D2E6D #8D7E2E #2E8D4F
square
#2E3D8D #8D2E6D #8D7E2E #2E8D4F
split-complementary
#2E3D8D #8D4F2E #6D8D2E
monochromatic
#101531 #1F295F #2E3D8D #3D51BB #6878CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3D8D#FFFFFF#000000##FFFFFF
##2E3D8D1.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)
#004990
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e3d8d;
/* rgb */ color: rgb(46, 61, 141);
/* oklch */ color: oklch(39.6% 0.133 271.0);
Tailwind
colors: {
  custom: {
    50: '#7272af',
    500: '#2e3d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d8d;
$custom-light: #7272af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d8d",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 230.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.1333,
    "h": 271
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#2E3D8D
secondary
#B5A862
accent
#C44EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E3D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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