#2B487E#2B487E

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

Color values

HEX#2B487E
RGBrgb(43, 72, 126)
HSLhsl(219, 49%, 33%)
HSVhsv(219, 66%, 49%)
CMYKcmyk(65.9%, 42.9%, 0%, 50.6%)
CIE-LABlab(31.01, 7.75, -33.86)
CIE-LCHlch(31.01, 34.73, 282.89°)
OKLaboklab(40.77% -0.014 -0.0964)
OKLCHoklch(40.77% 0.097 261.7)
XYZxyz(7.0782, 6.6540, 20.6460)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B487E #7E612B
analogous
#2B717E #2B487E #372B7E
triadic
#2B487E #7E2B48 #487E2B
tetradic
#2B487E #7E2B71 #7E612B #2B7E37
square
#2B487E #7E2B71 #7E612B #2B7E37
split-complementary
#2B487E #7E372B #717E2B
monochromatic
#0C1423 #1B2E50 #2B487E #3B62AC #5C82C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B487E#FFFFFF#000000##FFFFFF
##2B487E1.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)
#304D80
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b487e;
/* rgb */ color: rgb(43, 72, 126);
/* oklch */ color: oklch(40.8% 0.097 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d7aa4',
    500: '#2b487e',
    950: '#000000',
  },
}
SCSS
$custom: #2b487e;
$custom-light: #6d7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b487e",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 219.036,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40768,
    "c": 0.09744,
    "h": 261.7
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#2B487E
secondary
#AD8F58
accent
#A94FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B487E

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

Preview Lab → · Contrast checker → · Palette generator →

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