#2E284D#2E284D

#2E284D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.066 H 289.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#2E284D
RGBrgb(46, 40, 77)
HSLhsl(250, 32%, 23%)
HSVhsv(250, 48%, 30%)
CMYKcmyk(40.3%, 48.1%, 0%, 69.8%)
CIE-LABlab(18.52, 13.09, -21.96)
CIE-LCHlch(18.52, 25.56, 300.81°)
OKLaboklab(30.27% 0.0217 -0.0618)
OKLCHoklch(30.27% 0.066 289.3)
XYZxyz(3.2247, 2.6342, 7.3583)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E284D #474D28
analogous
#28344D #2E284D #40284D
triadic
#2E284D #4D2E28 #284D2E
tetradic
#2E284D #4D2834 #474D28 #284D40
square
#2E284D #4D2834 #474D28 #284D40
split-complementary
#2E284D #4D4028 #344D28
monochromatic
#0C0A14 #161325 #2E284D #463D75 #5E529E

Accessibility & contrast

On white

13.75
#2E284D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2E284D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E284D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E284D#FFFFFF#000000##FFFFFF
##2E284D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4E
Deuteranopia (green-blind)
#1C2C4C
Tritanopia (blue-blind)
#262F36
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e284d;
/* rgb */ color: rgb(46, 40, 77);
/* oklch */ color: oklch(30.3% 0.066 289.3);
Tailwind
colors: {
  custom: {
    50: '#68627f',
    500: '#2e284d',
    950: '#000000',
  },
}
SCSS
$custom: #2e284d;
$custom-light: #68627f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e284d",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 249.73,
    "s": 31.624,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30273,
    "c": 0.0655,
    "h": 289.3
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#2E284D
secondary
#788051
accent
#C860B7
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2E284D

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

Preview Lab → · Contrast checker → · Palette generator →

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