#2D2596#2D2596

#2D2596 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.175 H 276.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2D2596
RGBrgb(45, 37, 150)
HSLhsl(244, 60%, 37%)
HSVhsv(244, 75%, 59%)
CMYKcmyk(70%, 75.3%, 0%, 41.2%)
CIE-LABlab(23.94, 39.86, -60.19)
CIE-LCHlch(23.94, 72.19, 303.51°)
OKLaboklab(36.15% 0.019 -0.1739)
OKLCHoklch(36.15% 0.175 276.2)
XYZxyz(7.2470, 4.0824, 29.2543)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2596 #8E9625
analogous
#255696 #2D2596 #662596
triadic
#2D2596 #962D25 #25962D
tetradic
#2D2596 #962556 #8E9625 #259666
square
#2D2596 #962556 #8E9625 #259666
split-complementary
#2D2596 #966625 #569625
monochromatic
#100D34 #1E1965 #2D2596 #3C31C7 #675ED7

Accessibility & contrast

On white

11.56
#2D2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2596
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2596#FFFFFF#000000##FFFFFF
##2D25961.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2596;
/* rgb */ color: rgb(45, 37, 150);
/* oklch */ color: oklch(36.2% 0.175 276.2);
Tailwind
colors: {
  custom: {
    50: '#7661b6',
    500: '#2d2596',
    950: '#000000',
  },
}
SCSS
$custom: #2d2596;
$custom-light: #7661b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2596",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 244.248,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36152,
    "c": 0.17498,
    "h": 276.2
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#2D2596
secondary
#B5BC5B
accent
#E444D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2596

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

Preview Lab → · Contrast checker → · Palette generator →

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