#2D288A#2D288A

#2D288A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.156 H 277.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2D288A
RGBrgb(45, 40, 138)
HSLhsl(243, 55%, 35%)
HSVhsv(243, 71%, 54%)
CMYKcmyk(67.4%, 71%, 0%, 45.9%)
CIE-LABlab(23.37, 34.00, -53.69)
CIE-LCHlch(23.37, 63.55, 302.34°)
OKLaboklab(35.38% 0.0192 -0.155)
OKLCHoklch(35.38% 0.156 277.1)
XYZxyz(6.4269, 3.9099, 24.4558)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D288A #858A28
analogous
#28548A #2D288A #5E288A
triadic
#2D288A #8A2D28 #288A2D
tetradic
#2D288A #8A2854 #858A28 #288A5E
square
#2D288A #8A2854 #858A28 #288A5E
split-complementary
#2D288A #8A5E28 #548A28
monochromatic
#0E0C2B #1E1A5B #2D288A #3C36B9 #625DD0

Accessibility & contrast

On white

11.78
#2D288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D288A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D288A#FFFFFF#000000##FFFFFF
##2D288A1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d288a;
/* rgb */ color: rgb(45, 40, 138);
/* oklch */ color: oklch(35.4% 0.156 277.1);
Tailwind
colors: {
  custom: {
    50: '#7363ad',
    500: '#2d288a',
    950: '#000000',
  },
}
SCSS
$custom: #2d288a;
$custom-light: #7363ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d288a",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 243.061,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35378,
    "c": 0.15618,
    "h": 277.1
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#2D288A
secondary
#B0B559
accent
#DE49D7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D288A

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

Preview Lab → · Contrast checker → · Palette generator →

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