#2E259E#2E259E

#2E259E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.185 H 275.8°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2E259E
RGBrgb(46, 37, 158)
HSLhsl(244, 62%, 38%)
HSVhsv(244, 77%, 62%)
CMYKcmyk(70.9%, 76.6%, 0%, 38%)
CIE-LABlab(24.86, 42.60, -63.57)
CIE-LCHlch(24.86, 76.52, 303.83°)
OKLaboklab(37.08% 0.0186 -0.1838)
OKLCHoklch(37.08% 0.185 275.8)
XYZxyz(7.9578, 4.3719, 32.7656)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E259E #959E25
analogous
#25589E #2E259E #6A259E
triadic
#2E259E #9E2E25 #259E2E
tetradic
#2E259E #9E2558 #959E25 #259E6A
square
#2E259E #9E2558 #959E25 #259E6A
split-complementary
#2E259E #9E6A25 #589E25
monochromatic
#110E3B #20196C #2E259E #3D31CF #6C63DA

Accessibility & contrast

On white

11.20
#2E259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E259E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E259E#FFFFFF#000000##FFFFFF
##2E259E1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e259e;
/* rgb */ color: rgb(46, 37, 158);
/* oklch */ color: oklch(37.1% 0.185 275.8);
Tailwind
colors: {
  custom: {
    50: '#7862bc',
    500: '#2e259e',
    950: '#000000',
  },
}
SCSS
$custom: #2e259e;
$custom-light: #7862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e259e",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 244.463,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37076,
    "c": 0.18471,
    "h": 275.8
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#2E259E
secondary
#B9C05F
accent
#E543D9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E259E

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

Preview Lab → · Contrast checker → · Palette generator →

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