#2D289E#2D289E

#2D289E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.182 H 274.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2D289E
RGBrgb(45, 40, 158)
HSLhsl(243, 60%, 39%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(71.5%, 74.7%, 0%, 38%)
CIE-LABlab(25.39, 40.81, -62.70)
CIE-LCHlch(25.39, 74.81, 303.06°)
OKLaboklab(37.43% 0.0157 -0.1813)
OKLCHoklch(37.43% 0.182 274.9)
XYZxyz(8.0105, 4.5433, 32.7959)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D289E #999E28
analogous
#285E9E #2D289E #68289E
triadic
#2D289E #9E2D28 #289E2D
tetradic
#2D289E #9E285E #999E28 #289E68
square
#2D289E #9E285E #999E28 #289E68
split-complementary
#2D289E #9E6828 #5E9E28
monochromatic
#110F3C #1F1C6D #2D289E #3D37CC #6C68D9

Accessibility & contrast

On white

11.00
#2D289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D289E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D289E#FFFFFF#000000##FFFFFF
##2D289E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d289e;
/* rgb */ color: rgb(45, 40, 158);
/* oklch */ color: oklch(37.4% 0.182 274.9);
Tailwind
colors: {
  custom: {
    50: '#7764bc',
    500: '#2d289e',
    950: '#000000',
  },
}
SCSS
$custom: #2d289e;
$custom-light: #7764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d289e",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 242.542,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37431,
    "c": 0.18197,
    "h": 274.9
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#2D289E
secondary
#BBBF63
accent
#E345DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D289E

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

Preview Lab → · Contrast checker → · Palette generator →

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