#2E3EAF#2E3EAF

#2E3EAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.179 H 270.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2E3EAF
RGBrgb(46, 62, 175)
HSLhsl(233, 58%, 43%)
HSVhsv(233, 74%, 69%)
CMYKcmyk(73.7%, 64.6%, 0%, 31.4%)
CIE-LABlab(32.08, 33.32, -61.96)
CIE-LCHlch(32.08, 70.35, 298.27°)
OKLaboklab(42.77% 0.0014 -0.1791)
OKLCHoklch(42.77% 0.179 270.4)
XYZxyz(10.5846, 7.1201, 41.3656)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EAF #AF9F2E
analogous
#2E7EAF #2E3EAF #5E2EAF
triadic
#2E3EAF #AF2E3E #3EAF2E
tetradic
#2E3EAF #AF2E7E #AF9F2E #2EAF5E
square
#2E3EAF #AF2E7E #AF9F2E #2EAF5E
split-complementary
#2E3EAF #AF5E2E #7EAF2E
monochromatic
#151C4E #212D7F #2E3EAF #4B5BD0 #7B87DC

Accessibility & contrast

On white

8.66
#2E3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EAF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EAF#FFFFFF#000000##FFFFFF
##2E3EAF1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3eaf;
/* rgb */ color: rgb(46, 62, 175);
/* oklch */ color: oklch(42.8% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a73c8',
    500: '#2e3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eaf;
$custom-light: #7a73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eaf",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 232.558,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42774,
    "c": 0.17909,
    "h": 270.4
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#2E3EAF
secondary
#C5BB74
accent
#CE46E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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