#2D5289#2D5289

#2D5289 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.101 H 258.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2D5289
RGBrgb(45, 82, 137)
HSLhsl(216, 51%, 36%)
HSVhsv(216, 67%, 54%)
CMYKcmyk(67.2%, 40.1%, 0%, 46.3%)
CIE-LABlab(34.80, 5.63, -34.61)
CIE-LCHlch(34.80, 35.06, 279.24°)
OKLaboklab(43.95% -0.0206 -0.0984)
OKLCHoklch(43.95% 0.101 258.2)
XYZxyz(8.6132, 8.3978, 24.8291)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5289 #89642D
analogous
#2D8089 #2D5289 #362D89
triadic
#2D5289 #892D52 #52892D
tetradic
#2D5289 #892D80 #89642D #2D8936
square
#2D5289 #892D80 #89642D #2D8936
split-complementary
#2D5289 #89362D #80892D
monochromatic
#0F1B2D #1E365B #2D5289 #3C6EB7 #648ECC

Accessibility & contrast

On white

7.84
#2D5289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2D5289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5289
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5289#FFFFFF#000000##FFFFFF
##2D52891.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568B
Deuteranopia (green-blind)
#2C4E88
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5289;
/* rgb */ color: rgb(45, 82, 137);
/* oklch */ color: oklch(43.9% 0.101 258.2);
Tailwind
colors: {
  custom: {
    50: '#7082ac',
    500: '#2d5289',
    950: '#000000',
  },
}
SCSS
$custom: #2d5289;
$custom-light: #7082ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5289",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 137
  },
  "hsl": {
    "h": 215.87,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43945,
    "c": 0.10058,
    "h": 258.2
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#2D5289
secondary
#B3915F
accent
#A24EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5289

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

Preview Lab → · Contrast checker → · Palette generator →

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