#2E2F88#2E2F88

#2E2F88 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.145 H 276.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2E2F88
RGBrgb(46, 47, 136)
HSLhsl(239, 49%, 36%)
HSVhsv(239, 66%, 53%)
CMYKcmyk(66.2%, 65.4%, 0%, 46.7%)
CIE-LABlab(24.92, 28.97, -49.90)
CIE-LCHlch(24.92, 57.70, 300.14°)
OKLaboklab(36.47% 0.0152 -0.1438)
OKLCHoklch(36.47% 0.145 276)
XYZxyz(6.5857, 4.3909, 23.7883)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F88 #88872E
analogous
#2E5C88 #2E2F88 #5A2E88
triadic
#2E2F88 #882E2F #2F882E
tetradic
#2E2F88 #882E5C #88872E #2E885A
square
#2E2F88 #882E5C #88872E #2E885A
split-complementary
#2E2F88 #885A2E #5C882E
monochromatic
#0F0F2D #1F1F5A #2E2F88 #3D3FB6 #6566CB

Accessibility & contrast

On white

11.18
#2E2F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E2F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F88
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F88#FFFFFF#000000##FFFFFF
##2E2F881.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2f88;
/* rgb */ color: rgb(46, 47, 136);
/* oklch */ color: oklch(36.5% 0.145 276.0);
Tailwind
colors: {
  custom: {
    50: '#7268ab',
    500: '#2e2f88',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f88;
$custom-light: #7268ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f88",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 239.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.14463,
    "h": 276
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#2E2F88
secondary
#B2B160
accent
#D74FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2F88

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

Preview Lab → · Contrast checker → · Palette generator →

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