#2E289F#2E289F

#2E289F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.183 H 275.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2E289F
RGBrgb(46, 40, 159)
HSLhsl(243, 60%, 39%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(71.1%, 74.8%, 0%, 37.6%)
CIE-LABlab(25.57, 41.24, -63.02)
CIE-LCHlch(25.57, 75.32, 303.20°)
OKLaboklab(37.6% 0.0168 -0.1822)
OKLCHoklch(37.6% 0.183 275.3)
XYZxyz(8.1415, 4.6009, 33.2532)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E289F #999F28
analogous
#285E9F #2E289F #6A289F
triadic
#2E289F #9F2E28 #289F2E
tetradic
#2E289F #9F285E #999F28 #289F6A
square
#2E289F #9F285E #999F28 #289F6A
split-complementary
#2E289F #9F6A28 #5E9F28
monochromatic
#120F3D #201C6E #2E289F #3F37CD #6E68D9

Accessibility & contrast

On white

10.94
#2E289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E289F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E289F#FFFFFF#000000##FFFFFF
##2E289F1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e289f;
/* rgb */ color: rgb(46, 40, 159);
/* oklch */ color: oklch(37.6% 0.183 275.3);
Tailwind
colors: {
  custom: {
    50: '#7864bd',
    500: '#2e289f',
    950: '#000000',
  },
}
SCSS
$custom: #2e289f;
$custom-light: #7864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e289f",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 243.025,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37604,
    "c": 0.18297,
    "h": 275.3
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#2E289F
secondary
#BBBF64
accent
#E345DB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E289F

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

Preview Lab → · Contrast checker → · Palette generator →

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