#2E3DAF#2E3DAF

#2E3DAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.180 H 270.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2E3DAF
RGBrgb(46, 61, 175)
HSLhsl(233, 58%, 43%)
HSVhsv(233, 74%, 69%)
CMYKcmyk(73.7%, 65.1%, 0%, 31.4%)
CIE-LABlab(31.84, 33.96, -62.36)
CIE-LCHlch(31.84, 71.00, 298.57°)
OKLaboklab(42.6% 0.002 -0.1802)
OKLCHoklch(42.6% 0.18 270.6)
XYZxyz(10.5307, 7.0124, 41.3477)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DAF #AFA02E
analogous
#2E7DAF #2E3DAF #5F2EAF
triadic
#2E3DAF #AF2E3D #3DAF2E
tetradic
#2E3DAF #AF2E7D #AFA02E #2EAF5F
square
#2E3DAF #AF2E7D #AFA02E #2EAF5F
split-complementary
#2E3DAF #AF5F2E #7DAF2E
monochromatic
#151B4E #212C7F #2E3DAF #4B5AD0 #7B86DC

Accessibility & contrast

On white

8.74
#2E3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E3DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DAF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DAF#FFFFFF#000000##FFFFFF
##2E3DAF1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3daf;
/* rgb */ color: rgb(46, 61, 175);
/* oklch */ color: oklch(42.6% 0.180 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a72c8',
    500: '#2e3daf',
    950: '#000000',
  },
}
SCSS
$custom: #2e3daf;
$custom-light: #7a72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3daf",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 233.023,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42595,
    "c": 0.18026,
    "h": 270.6
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#2E3DAF
secondary
#C5BB74
accent
#D046E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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