#2D487C#2D487C

#2D487C is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.094 H 262.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D487C
RGBrgb(45, 72, 124)
HSLhsl(219, 47%, 33%)
HSVhsv(219, 64%, 49%)
CMYKcmyk(63.7%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.99, 7.40, -32.63)
CIE-LCHlch(30.99, 33.46, 282.78°)
OKLaboklab(40.74% -0.0125 -0.0928)
OKLCHoklch(40.74% 0.094 262.3)
XYZxyz(7.0364, 6.6472, 19.9771)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D487C #7C612D
analogous
#2D6F7C #2D487C #392D7C
triadic
#2D487C #7C2D48 #487C2D
tetradic
#2D487C #7C2D6F #7C612D #2D7C39
square
#2D487C #7C2D6F #7C612D #2D7C39
split-complementary
#2D487C #7C392D #6F7C2D
monochromatic
#0C1422 #1D2E4F #2D487C #3D62A9 #5F82C5

Accessibility & contrast

On white

9.01
#2D487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D487C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D487C#FFFFFF#000000##FFFFFF
##2D487C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#26467B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d487c;
/* rgb */ color: rgb(45, 72, 124);
/* oklch */ color: oklch(40.7% 0.094 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e7aa2',
    500: '#2d487c',
    950: '#000000',
  },
}
SCSS
$custom: #2d487c;
$custom-light: #6e7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d487c",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 219.494,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.09364,
    "h": 262.3
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#2D487C
secondary
#AB8F5A
accent
#A951D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D487C

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

Preview Lab → · Contrast checker → · Palette generator →

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