#2E259A#2E259A

#2E259A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.180 H 276.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2E259A
RGBrgb(46, 37, 154)
HSLhsl(245, 61%, 37%)
HSVhsv(245, 76%, 60%)
CMYKcmyk(70.1%, 76%, 0%, 39.6%)
CIE-LABlab(24.44, 41.29, -61.83)
CIE-LCHlch(24.44, 74.34, 303.73°)
OKLaboklab(36.65% 0.0195 -0.1787)
OKLCHoklch(36.65% 0.18 276.2)
XYZxyz(7.6191, 4.2364, 30.9818)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E259A #919A25
analogous
#25579A #2E259A #68259A
triadic
#2E259A #9A2E25 #259A2E
tetradic
#2E259A #9A2557 #919A25 #259A68
square
#2E259A #9A2557 #919A25 #259A68
split-complementary
#2E259A #9A6825 #579A25
monochromatic
#110D37 #1F1969 #2E259A #3D31CB #6A60D9

Accessibility & contrast

On white

11.37
#2E259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E259A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E259A#FFFFFF#000000##FFFFFF
##2E259A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e259a;
/* rgb */ color: rgb(46, 37, 154);
/* oklch */ color: oklch(36.6% 0.180 276.2);
Tailwind
colors: {
  custom: {
    50: '#7762b9',
    500: '#2e259a',
    950: '#000000',
  },
}
SCSS
$custom: #2e259a;
$custom-light: #7762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e259a",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 244.615,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36648,
    "c": 0.17976,
    "h": 276.2
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#2E259A
secondary
#B7BE5D
accent
#E443D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E259A

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

Preview Lab → · Contrast checker → · Palette generator →

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