#2E258D#2E258D

#2E258D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.163 H 277.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2E258D
RGBrgb(46, 37, 141)
HSLhsl(245, 58%, 35%)
HSVhsv(245, 74%, 55%)
CMYKcmyk(67.4%, 73.8%, 0%, 44.7%)
CIE-LABlab(23.09, 36.97, -56.02)
CIE-LCHlch(23.09, 67.12, 303.42°)
OKLaboklab(35.29% 0.0222 -0.1618)
OKLCHoklch(35.29% 0.163 277.8)
XYZxyz(6.5944, 3.8265, 25.5852)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E258D #848D25
analogous
#25508D #2E258D #62258D
triadic
#2E258D #8D2E25 #258D2E
tetradic
#2E258D #8D2550 #848D25 #258D62
square
#2E258D #8D2550 #848D25 #258D62
split-complementary
#2E258D #8D6225 #508D25
monochromatic
#0E0C2C #1E185D #2E258D #3E32BD #6459D3

Accessibility & contrast

On white

11.90
#2E258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E258D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E258D#FFFFFF#000000##FFFFFF
##2E258D1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e258d;
/* rgb */ color: rgb(46, 37, 141);
/* oklch */ color: oklch(35.3% 0.163 277.8);
Tailwind
colors: {
  custom: {
    50: '#7461af',
    500: '#2e258d',
    950: '#000000',
  },
}
SCSS
$custom: #2e258d;
$custom-light: #7461af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e258d",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 245.192,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.16328,
    "h": 277.8
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#2E258D
secondary
#B0B856
accent
#E246D4
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #2E258D

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

Preview Lab → · Contrast checker → · Palette generator →

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