#2D259D#2D259D

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

Color values

HEX#2D259D
RGBrgb(45, 37, 157)
HSLhsl(244, 62%, 38%)
HSVhsv(244, 76%, 62%)
CMYKcmyk(71.3%, 76.4%, 0%, 38.4%)
CIE-LABlab(24.69, 42.17, -63.26)
CIE-LCHlch(24.69, 76.02, 303.69°)
OKLaboklab(36.9% 0.0175 -0.1829)
OKLCHoklch(36.9% 0.184 275.5)
XYZxyz(7.8276, 4.3146, 32.3120)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D259D #959D25
analogous
#25599D #2D259D #69259D
triadic
#2D259D #9D2D25 #259D2D
tetradic
#2D259D #9D2559 #959D25 #259D69
square
#2D259D #9D2559 #959D25 #259D69
split-complementary
#2D259D #9D6925 #599D25
monochromatic
#110E3A #1F196B #2D259D #3B31CE #6A62DA

Accessibility & contrast

On white

11.27
#2D259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D259D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D259D#FFFFFF#000000##FFFFFF
##2D259D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d259d;
/* rgb */ color: rgb(45, 37, 157);
/* oklch */ color: oklch(36.9% 0.184 275.5);
Tailwind
colors: {
  custom: {
    50: '#7862bb',
    500: '#2d259d',
    950: '#000000',
  },
}
SCSS
$custom: #2d259d;
$custom-light: #7862bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d259d",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 244,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.18372,
    "h": 275.5
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D259D

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

Preview Lab → · Contrast checker → · Palette generator →

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