#2D487B#2D487B

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

Color values

HEX#2D487B
RGBrgb(45, 72, 123)
HSLhsl(219, 46%, 33%)
HSVhsv(219, 63%, 48%)
CMYKcmyk(63.4%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.93, 7.03, -32.10)
CIE-LCHlch(30.93, 32.86, 282.36°)
OKLaboklab(40.68% -0.0128 -0.0912)
OKLCHoklch(40.68% 0.092 262)
XYZxyz(6.9735, 6.6221, 19.6457)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D487B #7B602D
analogous
#2D6F7B #2D487B #392D7B
triadic
#2D487B #7B2D48 #487B2D
tetradic
#2D487B #7B2D6F #7B602D #2D7B39
square
#2D487B #7B2D6F #7B602D #2D7B39
split-complementary
#2D487B #7B392D #6F7B2D
monochromatic
#0C1421 #1D2E4E #2D487B #3D62A8 #5E82C4

Accessibility & contrast

On white

9.03
#2D487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D487B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D487B#FFFFFF#000000##FFFFFF
##2D487B1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#27457A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d487b;
/* rgb */ color: rgb(45, 72, 123);
/* oklch */ color: oklch(40.7% 0.092 262.0);
Tailwind
colors: {
  custom: {
    50: '#6e7aa1',
    500: '#2d487b',
    950: '#000000',
  },
}
SCSS
$custom: #2d487b;
$custom-light: #6e7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d487b",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 219.231,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.09214,
    "h": 262
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#2D487B
secondary
#AB8E59
accent
#A852D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2D487B

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

Preview Lab → · Contrast checker → · Palette generator →

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