#2E3BAF#2E3BAF

#2E3BAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.183 H 271.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2E3BAF
RGBrgb(46, 59, 175)
HSLhsl(234, 58%, 43%)
HSVhsv(234, 74%, 69%)
CMYKcmyk(73.7%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.35, 35.24, -63.15)
CIE-LCHlch(31.35, 72.31, 299.16°)
OKLaboklab(42.24% 0.0033 -0.1826)
OKLCHoklch(42.24% 0.183 271)
XYZxyz(10.4259, 6.8028, 41.3127)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BAF #AFA22E
analogous
#2E7CAF #2E3BAF #612EAF
triadic
#2E3BAF #AF2E3B #3BAF2E
tetradic
#2E3BAF #AF2E7C #AFA22E #2EAF61
square
#2E3BAF #AF2E7C #AFA22E #2EAF61
split-complementary
#2E3BAF #AF612E #7CAF2E
monochromatic
#151A4E #212B7F #2E3BAF #4B58D0 #7B85DC

Accessibility & contrast

On white

8.90
#2E3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E3BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BAF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BAF#FFFFFF#000000##FFFFFF
##2E3BAF1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e3baf;
/* rgb */ color: rgb(46, 59, 175);
/* oklch */ color: oklch(42.2% 0.183 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a71c8',
    500: '#2e3baf',
    950: '#000000',
  },
}
SCSS
$custom: #2e3baf;
$custom-light: #7a71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3baf",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 233.953,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42243,
    "c": 0.18261,
    "h": 271
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#2E3BAF
secondary
#C5BD74
accent
#D246E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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