#2B4E8F#2B4E8F

#2B4E8F is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.115 H 261.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2B4E8F
RGBrgb(43, 78, 143)
HSLhsl(219, 54%, 36%)
HSVhsv(219, 70%, 56%)
CMYKcmyk(69.9%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.87, 10.19, -39.76)
CIE-LCHlch(33.87, 41.05, 284.37°)
OKLaboklab(43.32% -0.0168 -0.1137)
OKLCHoklch(43.32% 0.115 261.6)
XYZxyz(8.6768, 7.9447, 27.0575)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E8F #8F6C2B
analogous
#2B808F #2B4E8F #3A2B8F
triadic
#2B4E8F #8F2B4E #4E8F2B
tetradic
#2B4E8F #8F2B80 #8F6C2B #2B8F3A
square
#2B4E8F #8F2B80 #8F6C2B #2B8F3A
split-complementary
#2B4E8F #8F3A2B #808F2B
monochromatic
#0F1B31 #1D3460 #2B4E8F #3968BE #648AD0

Accessibility & contrast

On white

8.11
#2B4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2B4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E8F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E8F#FFFFFF#000000##FFFFFF
##2B4E8F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5591
Deuteranopia (green-blind)
#1C4B8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4e8f;
/* rgb */ color: rgb(43, 78, 143);
/* oklch */ color: oklch(43.3% 0.115 261.6);
Tailwind
colors: {
  custom: {
    50: '#707fb0',
    500: '#2b4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e8f;
$custom-light: #707fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e8f",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 219,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.11492,
    "h": 261.6
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#2B4E8F
secondary
#B7985F
accent
#AA4BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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