#2E259C#2E259C

#2E259C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.182 H 276.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2E259C
RGBrgb(46, 37, 156)
HSLhsl(245, 62%, 38%)
HSVhsv(245, 76%, 61%)
CMYKcmyk(70.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(24.65, 41.94, -62.70)
CIE-LCHlch(24.65, 75.43, 303.78°)
OKLaboklab(36.86% 0.019 -0.1812)
OKLCHoklch(36.86% 0.182 276)
XYZxyz(7.7871, 4.3036, 31.8663)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E259C #939C25
analogous
#25579C #2E259C #69259C
triadic
#2E259C #9C2E25 #259C2E
tetradic
#2E259C #9C2557 #939C25 #259C69
square
#2E259C #9C2557 #939C25 #259C69
split-complementary
#2E259C #9C6925 #579C25
monochromatic
#110E39 #1F196B #2E259C #3D31CD #6B62DA

Accessibility & contrast

On white

11.29
#2E259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E259C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E259C#FFFFFF#000000##FFFFFF
##2E259C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e259c;
/* rgb */ color: rgb(46, 37, 156);
/* oklch */ color: oklch(36.9% 0.182 276.0);
Tailwind
colors: {
  custom: {
    50: '#7862ba',
    500: '#2e259c',
    950: '#000000',
  },
}
SCSS
$custom: #2e259c;
$custom-light: #7862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e259c",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 244.538,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36861,
    "c": 0.18224,
    "h": 276
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#2E259C
secondary
#B8BF5E
accent
#E543D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E259C

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

Preview Lab → · Contrast checker → · Palette generator →

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