#2E255D#2E255D

#2E255D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.096 H 286.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#2E255D
RGBrgb(46, 37, 93)
HSLhsl(250, 43%, 25%)
HSVhsv(250, 60%, 36%)
CMYKcmyk(50.5%, 60.2%, 0%, 63.5%)
CIE-LABlab(18.77, 20.53, -32.27)
CIE-LCHlch(18.77, 38.24, 302.47°)
OKLaboklab(30.82% 0.0276 -0.0921)
OKLCHoklch(30.82% 0.096 286.7)
XYZxyz(3.7635, 2.6941, 10.6755)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E255D #545D25
analogous
#25385D #2E255D #4A255D
triadic
#2E255D #5D2E25 #255D2E
tetradic
#2E255D #5D2538 #545D25 #255D4A
square
#2E255D #5D2538 #545D25 #255D4A
split-complementary
#2E255D #5D4A25 #385D25
monochromatic
#0B0916 #181431 #2E255D #443689 #5948B5

Accessibility & contrast

On white

13.65
#2E255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E255D
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E255D#FFFFFF#000000##FFFFFF
##2E255D1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042F5F
Deuteranopia (green-blind)
#032C5C
Tritanopia (blue-blind)
#1E313D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e255d;
/* rgb */ color: rgb(46, 37, 93);
/* oklch */ color: oklch(30.8% 0.096 286.7);
Tailwind
colors: {
  custom: {
    50: '#6b5f8b',
    500: '#2e255d',
    950: '#000000',
  },
}
SCSS
$custom: #2e255d;
$custom-light: #6b5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e255d",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 249.643,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.09611,
    "h": 286.7
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#2E255D
secondary
#86904D
accent
#D355BF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2E255D

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

Preview Lab → · Contrast checker → · Palette generator →

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