#2D2689#2D2689

#2D2689 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.157 H 277.6°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2D2689
RGBrgb(45, 38, 137)
HSLhsl(244, 57%, 34%)
HSVhsv(244, 72%, 54%)
CMYKcmyk(67.2%, 72.3%, 0%, 46.3%)
CIE-LABlab(22.83, 34.88, -53.96)
CIE-LCHlch(22.83, 64.25, 302.88°)
OKLaboklab(34.96% 0.0209 -0.1558)
OKLCHoklch(34.96% 0.157 277.6)
XYZxyz(6.2892, 3.7497, 24.0544)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2689 #828926
analogous
#265189 #2D2689 #5F2689
triadic
#2D2689 #892D26 #26892D
tetradic
#2D2689 #892651 #828926 #26895F
square
#2D2689 #892651 #828926 #26895F
split-complementary
#2D2689 #895F26 #518926
monochromatic
#0E0B29 #1D1959 #2D2689 #3D33B9 #6159D1

Accessibility & contrast

On white

12.00
#2D2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2D2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2689
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2689#FFFFFF#000000##FFFFFF
##2D26891.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2689;
/* rgb */ color: rgb(45, 38, 137);
/* oklch */ color: oklch(35.0% 0.157 277.6);
Tailwind
colors: {
  custom: {
    50: '#7361ac',
    500: '#2d2689',
    950: '#000000',
  },
}
SCSS
$custom: #2d2689;
$custom-light: #7361ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2689",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 244.242,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34957,
    "c": 0.15717,
    "h": 277.6
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#2D2689
secondary
#AFB655
accent
#E048D5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2689

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

Preview Lab → · Contrast checker → · Palette generator →

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