#2D289D#2D289D

#2D289D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.181 H 275.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2D289D
RGBrgb(45, 40, 157)
HSLhsl(243, 59%, 39%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(71.3%, 74.5%, 0%, 38.4%)
CIE-LABlab(25.29, 40.47, -62.26)
CIE-LCHlch(25.29, 74.26, 303.02°)
OKLaboklab(37.33% 0.0159 -0.18)
OKLCHoklch(37.33% 0.181 275)
XYZxyz(7.9248, 4.5090, 32.3444)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D289D #989D28
analogous
#285D9D #2D289D #67289D
triadic
#2D289D #9D2D28 #289D2D
tetradic
#2D289D #9D285D #989D28 #289D67
square
#2D289D #9D285D #989D28 #289D67
split-complementary
#2D289D #9D6728 #5D9D28
monochromatic
#110F3B #1F1C6C #2D289D #3D36CC #6C67D8

Accessibility & contrast

On white

11.04
#2D289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D289D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D289D#FFFFFF#000000##FFFFFF
##2D289D1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d289d;
/* rgb */ color: rgb(45, 40, 157);
/* oklch */ color: oklch(37.3% 0.181 275.0);
Tailwind
colors: {
  custom: {
    50: '#7764bb',
    500: '#2d289d',
    950: '#000000',
  },
}
SCSS
$custom: #2d289d;
$custom-light: #7764bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d289d",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 242.564,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37325,
    "c": 0.18071,
    "h": 275
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#2D289D
secondary
#BABE62
accent
#E345DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D289D

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

Preview Lab → · Contrast checker → · Palette generator →

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