#2B4D8F#2B4D8F

#2B4D8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.116 H 262.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2B4D8F
RGBrgb(43, 77, 143)
HSLhsl(220, 54%, 36%)
HSVhsv(220, 70%, 56%)
CMYKcmyk(69.9%, 46.2%, 0%, 43.9%)
CIE-LABlab(33.57, 10.86, -40.24)
CIE-LCHlch(33.57, 41.68, 285.10°)
OKLaboklab(43.09% -0.0158 -0.1151)
OKLCHoklch(43.09% 0.116 262.2)
XYZxyz(8.6063, 7.8037, 27.0340)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D8F #8F6D2B
analogous
#2B7F8F #2B4D8F #3B2B8F
triadic
#2B4D8F #8F2B4D #4D8F2B
tetradic
#2B4D8F #8F2B7F #8F6D2B #2B8F3B
square
#2B4D8F #8F2B7F #8F6D2B #2B8F3B
split-complementary
#2B4D8F #8F3B2B #7F8F2B
monochromatic
#0F1A31 #1D3460 #2B4D8F #3966BE #6489D0

Accessibility & contrast

On white

8.20
#2B4D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B4D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D8F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D8F#FFFFFF#000000##FFFFFF
##2B4D8F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#1A4B8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4d8f;
/* rgb */ color: rgb(43, 77, 143);
/* oklch */ color: oklch(43.1% 0.116 262.2);
Tailwind
colors: {
  custom: {
    50: '#717eb0',
    500: '#2b4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d8f;
$custom-light: #717eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d8f",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 219.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.11619,
    "h": 262.2
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#2B4D8F
secondary
#B7995F
accent
#AB4BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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