#2B4D8A#2B4D8A

#2B4D8A is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.109 H 261.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2B4D8A
RGBrgb(43, 77, 138)
HSLhsl(219, 52%, 35%)
HSVhsv(219, 69%, 54%)
CMYKcmyk(68.8%, 44.2%, 0%, 45.9%)
CIE-LABlab(33.25, 8.95, -37.68)
CIE-LCHlch(33.25, 38.73, 283.36°)
OKLaboklab(42.74% -0.0168 -0.1076)
OKLCHoklch(42.74% 0.109 261.1)
XYZxyz(8.2360, 7.6555, 25.0835)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D8A #8A682B
analogous
#2B7C8A #2B4D8A #382B8A
triadic
#2B4D8A #8A2B4D #4D8A2B
tetradic
#2B4D8A #8A2B7C #8A682B #2B8A38
square
#2B4D8A #8A2B7C #8A682B #2B8A38
split-complementary
#2B4D8A #8A382B #7C8A2B
monochromatic
#0E192D #1C335B #2B4D8A #3A67B9 #6188CE

Accessibility & contrast

On white

8.30
#2B4D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B4D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D8A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D8A#FFFFFF#000000##FFFFFF
##2B4D8A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538C
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4d8a;
/* rgb */ color: rgb(43, 77, 138);
/* oklch */ color: oklch(42.7% 0.109 261.1);
Tailwind
colors: {
  custom: {
    50: '#6f7eac',
    500: '#2b4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d8a;
$custom-light: #6f7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d8a",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 218.526,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.1089,
    "h": 261.1
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#2B4D8A
secondary
#B4955D
accent
#A84CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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