#2E259F#2E259F

#2E259F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.186 H 275.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2E259F
RGBrgb(46, 37, 159)
HSLhsl(244, 62%, 38%)
HSVhsv(244, 77%, 62%)
CMYKcmyk(71.1%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.97, 42.92, -64.00)
CIE-LCHlch(24.97, 77.06, 303.85°)
OKLaboklab(37.18% 0.0184 -0.185)
OKLCHoklch(37.18% 0.186 275.7)
XYZxyz(8.0442, 4.4064, 33.2208)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E259F #969F25
analogous
#25599F #2E259F #6B259F
triadic
#2E259F #9F2E25 #259F2E
tetradic
#2E259F #9F2559 #969F25 #259F6B
square
#2E259F #9F2559 #969F25 #259F6B
split-complementary
#2E259F #9F6B25 #599F25
monochromatic
#110E3C #20196D #2E259F #3E32CF #6C64DB

Accessibility & contrast

On white

11.16
#2E259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E259F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E259F#FFFFFF#000000##FFFFFF
##2E259F1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e259f;
/* rgb */ color: rgb(46, 37, 159);
/* oklch */ color: oklch(37.2% 0.186 275.7);
Tailwind
colors: {
  custom: {
    50: '#7862bd',
    500: '#2e259f',
    950: '#000000',
  },
}
SCSS
$custom: #2e259f;
$custom-light: #7862bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e259f",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 244.426,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37184,
    "c": 0.18594,
    "h": 275.7
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#2E259F
secondary
#B9C05F
accent
#E542D9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E259F

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

Preview Lab → · Contrast checker → · Palette generator →

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