#2B4487#2B4487

#2B4487 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.116 H 266.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2B4487
RGBrgb(43, 68, 135)
HSLhsl(224, 52%, 35%)
HSVhsv(224, 68%, 53%)
CMYKcmyk(68.1%, 49.6%, 0%, 47.1%)
CIE-LABlab(30.39, 13.88, -40.42)
CIE-LCHlch(30.39, 42.74, 288.94°)
OKLaboklab(40.48% -0.0081 -0.1158)
OKLCHoklch(40.48% 0.116 266)
XYZxyz(7.4350, 6.3964, 23.7598)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4487 #876E2B
analogous
#2B7287 #2B4487 #402B87
triadic
#2B4487 #872B44 #44872B
tetradic
#2B4487 #872B72 #876E2B #2B8740
square
#2B4487 #872B72 #876E2B #2B8740
split-complementary
#2B4487 #87402B #72872B
monochromatic
#0D152A #1C2D59 #2B4487 #3A5BB5 #607DCC

Accessibility & contrast

On white

9.21
#2B4487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B4487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4487
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4487#FFFFFF#000000##FFFFFF
##2B44871.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#0B4486
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4487;
/* rgb */ color: rgb(43, 68, 135);
/* oklch */ color: oklch(40.5% 0.116 266.0);
Tailwind
colors: {
  custom: {
    50: '#6f77aa',
    500: '#2b4487',
    950: '#000000',
  },
}
SCSS
$custom: #2b4487;
$custom-light: #6f77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4487",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 223.696,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.11607,
    "h": 266
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#2B4487
secondary
#B29B5B
accent
#B44DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4487

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

Preview Lab → · Contrast checker → · Palette generator →

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