#2D286E#2D286E

#2D286E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.117 H 281.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2D286E
RGBrgb(45, 40, 110)
HSLhsl(244, 47%, 29%)
HSVhsv(244, 64%, 43%)
CMYKcmyk(59.1%, 63.6%, 0%, 56.9%)
CIE-LABlab(20.83, 24.17, -40.07)
CIE-LCHlch(20.83, 46.80, 301.10°)
OKLaboklab(32.75% 0.0223 -0.115)
OKLCHoklch(32.75% 0.117 281)
XYZxyz(4.6546, 3.2010, 15.1214)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D286E #696E28
analogous
#28466E #2D286E #50286E
triadic
#2D286E #6E2D28 #286E2D
tetradic
#2D286E #6E2846 #696E28 #286E50
square
#2D286E #6E2846 #696E28 #286E50
split-complementary
#2D286E #6E5028 #466E28
monochromatic
#090816 #1B1841 #2D286E #3F389B #5951C0

Accessibility & contrast

On white

12.80
#2D286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D286E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D286E#FFFFFF#000000##FFFFFF
##2D286E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#0B3947
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d286e;
/* rgb */ color: rgb(45, 40, 110);
/* oklch */ color: oklch(32.7% 0.117 281.0);
Tailwind
colors: {
  custom: {
    50: '#6d6298',
    500: '#2d286e',
    950: '#000000',
  },
}
SCSS
$custom: #2d286e;
$custom-light: #6d6298;
$custom-dark: #000000;
JSON
{
  "hex": "#2d286e",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 244.286,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32748,
    "c": 0.11717,
    "h": 281
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#2D286E
secondary
#9BA051
accent
#D651CD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2D286E

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

Preview Lab → · Contrast checker → · Palette generator →

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