#2D487D#2D487D

#2D487D is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.095 H 262.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2D487D
RGBrgb(45, 72, 125)
HSLhsl(220, 47%, 33%)
HSVhsv(220, 64%, 49%)
CMYKcmyk(64%, 42.4%, 0%, 51%)
CIE-LABlab(31.05, 7.77, -33.16)
CIE-LCHlch(31.05, 34.06, 283.20°)
OKLaboklab(40.81% -0.0123 -0.0943)
OKLCHoklch(40.81% 0.095 262.6)
XYZxyz(7.0999, 6.6727, 20.3119)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D487D #7D622D
analogous
#2D707D #2D487D #3A2D7D
triadic
#2D487D #7D2D48 #487D2D
tetradic
#2D487D #7D2D70 #7D622D #2D7D3A
square
#2D487D #7D2D70 #7D622D #2D7D3A
split-complementary
#2D487D #7D3A2D #707D2D
monochromatic
#0D1423 #1D2E50 #2D487D #3D62AA #5F82C5

Accessibility & contrast

On white

9.00
#2D487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D487D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D487D#FFFFFF#000000##FFFFFF
##2D487D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d487d;
/* rgb */ color: rgb(45, 72, 125);
/* oklch */ color: oklch(40.8% 0.095 262.6);
Tailwind
colors: {
  custom: {
    50: '#6e7aa3',
    500: '#2d487d',
    950: '#000000',
  },
}
SCSS
$custom: #2d487d;
$custom-light: #6e7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d487d",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 219.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40811,
    "c": 0.09515,
    "h": 262.6
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#2D487D
secondary
#AC905A
accent
#AA51D7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D487D

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

Preview Lab → · Contrast checker → · Palette generator →

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