#2D259C#2D259C

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

Color values

HEX#2D259C
RGBrgb(45, 37, 156)
HSLhsl(244, 62%, 38%)
HSVhsv(244, 76%, 61%)
CMYKcmyk(71.2%, 76.3%, 0%, 38.8%)
CIE-LABlab(24.58, 41.84, -62.82)
CIE-LCHlch(24.58, 75.48, 303.66°)
OKLaboklab(36.79% 0.0177 -0.1816)
OKLCHoklch(36.79% 0.182 275.6)
XYZxyz(7.7425, 4.2806, 31.8642)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D259C #949C25
analogous
#25589C #2D259C #69259C
triadic
#2D259C #9C2D25 #259C2D
tetradic
#2D259C #9C2558 #949C25 #259C69
square
#2D259C #9C2558 #949C25 #259C69
split-complementary
#2D259C #9C6925 #589C25
monochromatic
#100E39 #1F196B #2D259C #3B31CD #6A62DA

Accessibility & contrast

On white

11.31
#2D259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D259C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D259C#FFFFFF#000000##FFFFFF
##2D259C1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d259c;
/* rgb */ color: rgb(45, 37, 156);
/* oklch */ color: oklch(36.8% 0.182 275.6);
Tailwind
colors: {
  custom: {
    50: '#7762ba',
    500: '#2d259c',
    950: '#000000',
  },
}
SCSS
$custom: #2d259c;
$custom-light: #7762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d259c",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 244.034,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36792,
    "c": 0.18248,
    "h": 275.6
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D259C

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

Preview Lab → · Contrast checker → · Palette generator →

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