#2B487C#2B487C

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

Color values

HEX#2B487C
RGBrgb(43, 72, 124)
HSLhsl(219, 49%, 33%)
HSVhsv(219, 65%, 49%)
CMYKcmyk(65.3%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.89, 7.00, -32.80)
CIE-LCHlch(30.89, 33.54, 282.04°)
OKLaboklab(40.64% -0.0144 -0.0933)
OKLCHoklch(40.64% 0.094 261.2)
XYZxyz(6.9504, 6.6029, 19.9731)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B487C #7C5F2B
analogous
#2B707C #2B487C #372B7C
triadic
#2B487C #7C2B48 #487C2B
tetradic
#2B487C #7C2B70 #7C5F2B #2B7C37
square
#2B487C #7C2B70 #7C5F2B #2B7C37
split-complementary
#2B487C #7C372B #707C2B
monochromatic
#0B1321 #1B2E4F #2B487C #3B62A9 #5B82C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B487C#FFFFFF#000000##FFFFFF
##2B487C1.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)
#314D7E
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b487c;
/* rgb */ color: rgb(43, 72, 124);
/* oklch */ color: oklch(40.6% 0.094 261.2);
Tailwind
colors: {
  custom: {
    50: '#6d7aa2',
    500: '#2b487c',
    950: '#000000',
  },
}
SCSS
$custom: #2b487c;
$custom-light: #6d7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b487c",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 218.519,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.09445,
    "h": 261.2
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#2B487C
secondary
#AC8E57
accent
#A750D8
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2B487C

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

Preview Lab → · Contrast checker → · Palette generator →

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