#2B487A#2B487A

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

Color values

HEX#2B487A
RGBrgb(43, 72, 122)
HSLhsl(218, 48%, 32%)
HSVhsv(218, 65%, 48%)
CMYKcmyk(64.8%, 41%, 0%, 52.2%)
CIE-LABlab(30.77, 6.24, -31.74)
CIE-LCHlch(30.77, 32.35, 281.13°)
OKLaboklab(40.51% -0.0149 -0.0902)
OKLCHoklch(40.51% 0.091 260.6)
XYZxyz(6.8252, 6.5528, 19.3137)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B487A #7A5D2B
analogous
#2B6F7A #2B487A #362B7A
triadic
#2B487A #7A2B48 #487A2B
tetradic
#2B487A #7A2B6F #7A5D2B #2B7A36
square
#2B487A #7A2B6F #7A5D2B #2B7A36
split-complementary
#2B487A #7A362B #6F7A2B
monochromatic
#0B131F #1B2D4D #2B487A #3B63A7 #5A82C5

Accessibility & contrast

On white

9.09
#2B487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B487A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B487A#FFFFFF#000000##FFFFFF
##2B487A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b487a;
/* rgb */ color: rgb(43, 72, 122);
/* oklch */ color: oklch(40.5% 0.091 260.6);
Tailwind
colors: {
  custom: {
    50: '#6c7aa1',
    500: '#2b487a',
    950: '#000000',
  },
}
SCSS
$custom: #2b487a;
$custom-light: #6c7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b487a",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 217.975,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40505,
    "c": 0.09147,
    "h": 260.6
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#2B487A
secondary
#AB8C56
accent
#A650D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2B487A

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

Preview Lab → · Contrast checker → · Palette generator →

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