#2B4F8F#2B4F8F

#2B4F8F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.114 H 261.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2B4F8F
RGBrgb(43, 79, 143)
HSLhsl(218, 54%, 36%)
HSVhsv(218, 70%, 56%)
CMYKcmyk(69.9%, 44.8%, 0%, 43.9%)
CIE-LABlab(34.17, 9.52, -39.29)
CIE-LCHlch(34.17, 40.42, 283.63°)
OKLaboklab(43.55% -0.0178 -0.1123)
OKLCHoklch(43.55% 0.114 261)
XYZxyz(8.7484, 8.0878, 27.0813)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F8F #8F6B2B
analogous
#2B818F #2B4F8F #392B8F
triadic
#2B4F8F #8F2B4F #4F8F2B
tetradic
#2B4F8F #8F2B81 #8F6B2B #2B8F39
square
#2B4F8F #8F2B81 #8F6B2B #2B8F39
split-complementary
#2B4F8F #8F392B #818F2B
monochromatic
#0F1B31 #1D3560 #2B4F8F #3969BE #648BD0

Accessibility & contrast

On white

8.02
#2B4F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B4F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F8F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F8F#FFFFFF#000000##FFFFFF
##2B4F8F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#1F4C8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4f8f;
/* rgb */ color: rgb(43, 79, 143);
/* oklch */ color: oklch(43.5% 0.114 261.0);
Tailwind
colors: {
  custom: {
    50: '#707fb0',
    500: '#2b4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f8f;
$custom-light: #707fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f8f",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 218.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.11368,
    "h": 261
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#2B4F8F
secondary
#B7975F
accent
#A84BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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