#2D4289#2D4289

#2D4289 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.121 H 268.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2D4289
RGBrgb(45, 66, 137)
HSLhsl(226, 51%, 36%)
HSVhsv(226, 67%, 54%)
CMYKcmyk(67.2%, 51.8%, 0%, 46.3%)
CIE-LABlab(30.06, 16.35, -42.19)
CIE-LCHlch(30.06, 45.25, 291.18°)
OKLaboklab(40.3% -0.0038 -0.121)
OKLCHoklch(40.3% 0.121 268.2)
XYZxyz(7.5442, 6.2598, 24.4727)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4289 #89742D
analogous
#2D7089 #2D4289 #462D89
triadic
#2D4289 #892D42 #42892D
tetradic
#2D4289 #892D70 #89742D #2D8946
square
#2D4289 #892D70 #89742D #2D8946
split-complementary
#2D4289 #89462D #70892D
monochromatic
#0F162D #1E2C5B #2D4289 #3C58B7 #647CCC

Accessibility & contrast

On white

9.33
#2D4289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D4289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4289
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4289#FFFFFF#000000##FFFFFF
##2D42891.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4289;
/* rgb */ color: rgb(45, 66, 137);
/* oklch */ color: oklch(40.3% 0.121 268.2);
Tailwind
colors: {
  custom: {
    50: '#7176ac',
    500: '#2d4289',
    950: '#000000',
  },
}
SCSS
$custom: #2d4289;
$custom-light: #7176ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4289",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 226.304,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.12104,
    "h": 268.2
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#2D4289
secondary
#B3A05F
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4289

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

Preview Lab → · Contrast checker → · Palette generator →

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