#2D487A#2D487A

#2D487A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.091 H 261.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2D487A
RGBrgb(45, 72, 122)
HSLhsl(219, 46%, 33%)
HSVhsv(219, 63%, 48%)
CMYKcmyk(63.1%, 41%, 0%, 52.2%)
CIE-LABlab(30.87, 6.66, -31.57)
CIE-LCHlch(30.87, 32.26, 281.91°)
OKLaboklab(40.62% -0.013 -0.0897)
OKLCHoklch(40.62% 0.091 261.7)
XYZxyz(6.9112, 6.5972, 19.3177)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D487A #7A5F2D
analogous
#2D6E7A #2D487A #382D7A
triadic
#2D487A #7A2D48 #487A2D
tetradic
#2D487A #7A2D6E #7A5F2D #2D7A38
square
#2D487A #7A2D6E #7A5F2D #2D7A38
split-complementary
#2D487A #7A382D #6E7A2D
monochromatic
#0C1321 #1D2E4D #2D487A #3D62A7 #5E82C4

Accessibility & contrast

On white

9.05
#2D487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D487A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D487A#FFFFFF#000000##FFFFFF
##2D487A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7C
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d487a;
/* rgb */ color: rgb(45, 72, 122);
/* oklch */ color: oklch(40.6% 0.091 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d7aa1',
    500: '#2d487a',
    950: '#000000',
  },
}
SCSS
$custom: #2d487a;
$custom-light: #6d7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d487a",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 218.961,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.09063,
    "h": 261.7
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#2D487A
secondary
#AA8E59
accent
#A852D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2D487A

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

Preview Lab → · Contrast checker → · Palette generator →

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