#2D289C#2D289C

#2D289C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.179 H 275.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2D289C
RGBrgb(45, 40, 156)
HSLhsl(243, 59%, 38%)
HSVhsv(243, 74%, 61%)
CMYKcmyk(71.2%, 74.4%, 0%, 38.8%)
CIE-LABlab(25.18, 40.13, -61.82)
CIE-LCHlch(25.18, 73.71, 302.99°)
OKLaboklab(37.22% 0.016 -0.1787)
OKLCHoklch(37.22% 0.179 275.1)
XYZxyz(7.8397, 4.4750, 31.8967)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D289C #979C28
analogous
#285D9C #2D289C #67289C
triadic
#2D289C #9C2D28 #289C2D
tetradic
#2D289C #9C285D #979C28 #289C67
square
#2D289C #9C285D #979C28 #289C67
split-complementary
#2D289C #9C6728 #5D9C28
monochromatic
#110F3B #1F1C6B #2D289C #3C36CB #6B67D8

Accessibility & contrast

On white

11.08
#2D289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D289C
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D289C#FFFFFF#000000##FFFFFF
##2D289C1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d289c;
/* rgb */ color: rgb(45, 40, 156);
/* oklch */ color: oklch(37.2% 0.179 275.1);
Tailwind
colors: {
  custom: {
    50: '#7764ba',
    500: '#2d289c',
    950: '#000000',
  },
}
SCSS
$custom: #2d289c;
$custom-light: #7764ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d289c",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 242.586,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3722,
    "c": 0.17945,
    "h": 275.1
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D289C

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

Preview Lab → · Contrast checker → · Palette generator →

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