#2E285A#2E285A

#2E285A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.087 H 285.7°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#2E285A
RGBrgb(46, 40, 90)
HSLhsl(247, 38%, 25%)
HSVhsv(247, 56%, 35%)
CMYKcmyk(48.9%, 55.6%, 0%, 64.7%)
CIE-LABlab(19.38, 17.43, -29.31)
CIE-LCHlch(19.38, 34.10, 300.75°)
OKLaboklab(31.2% 0.0234 -0.0833)
OKLCHoklch(31.2% 0.087 285.7)
XYZxyz(3.7304, 2.8365, 10.0218)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E285A #545A28
analogous
#283B5A #2E285A #47285A
triadic
#2E285A #5A2E28 #285A2E
tetradic
#2E285A #5A283B #545A28 #285A47
square
#2E285A #5A283B #545A28 #285A47
split-complementary
#2E285A #5A4728 #3B5A28
monochromatic
#0B0915 #181530 #2E285A #443B84 #594EAF

Accessibility & contrast

On white

13.40
#2E285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E285A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E285A#FFFFFF#000000##FFFFFF
##2E285A1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305C
Deuteranopia (green-blind)
#102D59
Tritanopia (blue-blind)
#20333C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e285a;
/* rgb */ color: rgb(46, 40, 90);
/* oklch */ color: oklch(31.2% 0.087 285.7);
Tailwind
colors: {
  custom: {
    50: '#6a6289',
    500: '#2e285a',
    950: '#000000',
  },
}
SCSS
$custom: #2e285a;
$custom-light: #6a6289;
$custom-dark: #000000;
JSON
{
  "hex": "#2e285a",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 247.2,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31201,
    "c": 0.08658,
    "h": 285.7
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#2E285A
secondary
#868D51
accent
#CE59C0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050B
muted
#7A797C

Preview Lab

Preview with #2E285A

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

Preview Lab → · Contrast checker → · Palette generator →

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