#2E3F85#2E3F85

#2E3F85 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.4% C 0.119 H 269.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2E3F85
RGBrgb(46, 63, 133)
HSLhsl(228, 49%, 35%)
HSVhsv(228, 65%, 52%)
CMYKcmyk(65.4%, 52.6%, 0%, 47.8%)
CIE-LABlab(28.98, 17.07, -41.45)
CIE-LCHlch(28.98, 44.83, 292.39°)
OKLaboklab(39.41% -0.0002 -0.1188)
OKLCHoklch(39.41% 0.119 269.9)
XYZxyz(7.1364, 5.8287, 22.9347)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F85 #85742E
analogous
#2E6A85 #2E3F85 #492E85
triadic
#2E3F85 #852E3F #3F852E
tetradic
#2E3F85 #852E6A #85742E #2E8549
square
#2E3F85 #852E6A #85742E #2E8549
split-complementary
#2E3F85 #85492E #6A852E
monochromatic
#0F142A #1E2958 #2E3F85 #3E55B2 #6478C9

Accessibility & contrast

On white

9.70
#2E3F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3F85
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F85#FFFFFF#000000##FFFFFF
##2E3F851.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174888
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e3f85;
/* rgb */ color: rgb(46, 63, 133);
/* oklch */ color: oklch(39.4% 0.119 269.9);
Tailwind
colors: {
  custom: {
    50: '#7073a9',
    500: '#2e3f85',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f85;
$custom-light: #7073a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f85",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 228.276,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.11883,
    "h": 269.9
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#2E3F85
secondary
#B0A05F
accent
#BD50D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E3F85

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

Preview Lab → · Contrast checker → · Palette generator →

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