#2D259A#2D259A

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

Color values

HEX#2D259A
RGBrgb(45, 37, 154)
HSLhsl(244, 61%, 37%)
HSVhsv(244, 76%, 60%)
CMYKcmyk(70.8%, 76%, 0%, 39.6%)
CIE-LABlab(24.36, 41.18, -61.95)
CIE-LCHlch(24.36, 74.39, 303.61°)
OKLaboklab(36.58% 0.0181 -0.1791)
OKLCHoklch(36.58% 0.18 275.8)
XYZxyz(7.5746, 4.2134, 30.9797)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D259A #929A25
analogous
#25579A #2D259A #68259A
triadic
#2D259A #9A2D25 #259A2D
tetradic
#2D259A #9A2557 #929A25 #259A68
square
#2D259A #9A2557 #929A25 #259A68
split-complementary
#2D259A #9A6825 #579A25
monochromatic
#100D37 #1F1969 #2D259A #3B31CB #6960D9

Accessibility & contrast

On white

11.40
#2D259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2D259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D259A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D259A#FFFFFF#000000##FFFFFF
##2D259A1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.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: #2d259a;
/* rgb */ color: rgb(45, 37, 154);
/* oklch */ color: oklch(36.6% 0.180 275.8);
Tailwind
colors: {
  custom: {
    50: '#7762b9',
    500: '#2d259a',
    950: '#000000',
  },
}
SCSS
$custom: #2d259a;
$custom-light: #7762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d259a",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 244.103,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36577,
    "c": 0.18,
    "h": 275.8
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D259A

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

Preview Lab → · Contrast checker → · Palette generator →

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