#2E2A8F#2E2A8F

#2E2A8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.160 H 276.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2E2A8F
RGBrgb(46, 42, 143)
HSLhsl(242, 55%, 36%)
HSVhsv(242, 71%, 56%)
CMYKcmyk(67.8%, 70.6%, 0%, 43.9%)
CIE-LABlab(24.38, 34.62, -55.14)
CIE-LCHlch(24.38, 65.11, 302.13°)
OKLaboklab(36.27% 0.0183 -0.1592)
OKLCHoklch(36.27% 0.16 276.6)
XYZxyz(6.9110, 4.2193, 26.4315)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A8F #8B8F2A
analogous
#2A598F #2E2A8F #612A8F
triadic
#2E2A8F #8F2E2A #2A8F2E
tetradic
#2E2A8F #8F2A59 #8B8F2A #2A8F61
square
#2E2A8F #8F2A59 #8B8F2A #2A8F61
split-complementary
#2E2A8F #8F612A #598F2A
monochromatic
#100E30 #1F1C60 #2E2A8F #3D38BE #6762D1

Accessibility & contrast

On white

11.39
#2E2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A8F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A8F#FFFFFF#000000##FFFFFF
##2E2A8F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2a8f;
/* rgb */ color: rgb(46, 42, 143);
/* oklch */ color: oklch(36.3% 0.160 276.6);
Tailwind
colors: {
  custom: {
    50: '#7464b1',
    500: '#2e2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a8f;
$custom-light: #7464b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a8f",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 242.376,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.16024,
    "h": 276.6
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#2E2A8F
secondary
#B3B75E
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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