#2D259B#2D259B

#2D259B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.181 H 275.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2D259B
RGBrgb(45, 37, 155)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 76%, 61%)
CMYKcmyk(71%, 76.1%, 0%, 39.2%)
CIE-LABlab(24.47, 41.51, -62.39)
CIE-LCHlch(24.47, 74.93, 303.64°)
OKLaboklab(36.68% 0.0179 -0.1803)
OKLCHoklch(36.68% 0.181 275.7)
XYZxyz(7.6582, 4.2469, 31.4201)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D259B #939B25
analogous
#25589B #2D259B #68259B
triadic
#2D259B #9B2D25 #259B2D
tetradic
#2D259B #9B2558 #939B25 #259B68
square
#2D259B #9B2558 #939B25 #259B68
split-complementary
#2D259B #9B6825 #589B25
monochromatic
#100D38 #1F196A #2D259B #3B31CC #6961D9

Accessibility & contrast

On white

11.35
#2D259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D259B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D259B#FFFFFF#000000##FFFFFF
##2D259B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d259b;
/* rgb */ color: rgb(45, 37, 155);
/* oklch */ color: oklch(36.7% 0.181 275.7);
Tailwind
colors: {
  custom: {
    50: '#7762ba',
    500: '#2d259b',
    950: '#000000',
  },
}
SCSS
$custom: #2d259b;
$custom-light: #7762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d259b",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 244.068,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36684,
    "c": 0.18124,
    "h": 275.7
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#2D259B
secondary
#B8BF5D
accent
#E543DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D259B

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

Preview Lab → · Contrast checker → · Palette generator →

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