#2B487D#2B487D

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

Color values

HEX#2B487D
RGBrgb(43, 72, 125)
HSLhsl(219, 49%, 33%)
HSVhsv(219, 66%, 49%)
CMYKcmyk(65.6%, 42.4%, 0%, 51%)
CIE-LABlab(30.95, 7.37, -33.33)
CIE-LCHlch(30.95, 34.14, 282.47°)
OKLaboklab(40.7% -0.0142 -0.0949)
OKLCHoklch(40.7% 0.096 261.5)
XYZxyz(7.0140, 6.6283, 20.3078)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B487D #7D602B
analogous
#2B717D #2B487D #372B7D
triadic
#2B487D #7D2B48 #487D2B
tetradic
#2B487D #7D2B71 #7D602B #2B7D37
square
#2B487D #7D2B71 #7D602B #2B7D37
split-complementary
#2B487D #7D372B #717D2B
monochromatic
#0C1422 #1B2E4F #2B487D #3B62AB #5C82C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B487D#FFFFFF#000000##FFFFFF
##2B487D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b487d;
/* rgb */ color: rgb(43, 72, 125);
/* oklch */ color: oklch(40.7% 0.096 261.5);
Tailwind
colors: {
  custom: {
    50: '#6d7aa3',
    500: '#2b487d',
    950: '#000000',
  },
}
SCSS
$custom: #2b487d;
$custom-light: #6d7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b487d",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 218.78,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.09595,
    "h": 261.5
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#2B487D
secondary
#AD8E57
accent
#A84FD8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B487D

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

Preview Lab → · Contrast checker → · Palette generator →

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