#2E3FAF#2E3FAF

#2E3FAF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.178 H 270.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2E3FAF
RGBrgb(46, 63, 175)
HSLhsl(232, 58%, 43%)
HSVhsv(232, 74%, 69%)
CMYKcmyk(73.7%, 64%, 0%, 31.4%)
CIE-LABlab(32.32, 32.67, -61.55)
CIE-LCHlch(32.32, 69.69, 297.96°)
OKLaboklab(42.95% 0.0007 -0.1779)
OKLCHoklch(42.95% 0.178 270.2)
XYZxyz(10.6394, 7.2299, 41.3839)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FAF #AF9E2E
analogous
#2E7FAF #2E3FAF #5D2EAF
triadic
#2E3FAF #AF2E3F #3FAF2E
tetradic
#2E3FAF #AF2E7F #AF9E2E #2EAF5D
square
#2E3FAF #AF2E7F #AF9E2E #2EAF5D
split-complementary
#2E3FAF #AF5D2E #7FAF2E
monochromatic
#151C4E #212E7F #2E3FAF #4B5CD0 #7B88DC

Accessibility & contrast

On white

8.58
#2E3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E3FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3FAF
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3FAF#FFFFFF#000000##FFFFFF
##2E3FAF1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3faf;
/* rgb */ color: rgb(46, 63, 175);
/* oklch */ color: oklch(43.0% 0.178 270.2);
Tailwind
colors: {
  custom: {
    50: '#7a74c8',
    500: '#2e3faf',
    950: '#000000',
  },
}
SCSS
$custom: #2e3faf;
$custom-light: #7a74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3faf",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 232.093,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42954,
    "c": 0.17789,
    "h": 270.2
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#2E3FAF
secondary
#C5BA74
accent
#CD46E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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