#2B4D8E#2B4D8E

#2B4D8E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.115 H 262.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2B4D8E
RGBrgb(43, 77, 142)
HSLhsl(219, 54%, 36%)
HSVhsv(219, 70%, 56%)
CMYKcmyk(69.7%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.51, 10.48, -39.73)
CIE-LCHlch(33.51, 41.09, 284.77°)
OKLaboklab(43.02% -0.016 -0.1136)
OKLCHoklch(43.02% 0.115 262)
XYZxyz(8.5309, 7.7735, 26.6368)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D8E #8E6C2B
analogous
#2B7F8E #2B4D8E #3B2B8E
triadic
#2B4D8E #8E2B4D #4D8E2B
tetradic
#2B4D8E #8E2B7F #8E6C2B #2B8E3B
square
#2B4D8E #8E2B7F #8E6C2B #2B8E3B
split-complementary
#2B4D8E #8E3B2B #7F8E2B
monochromatic
#0F1A30 #1D345F #2B4D8E #3966BD #6389D0

Accessibility & contrast

On white

8.22
#2B4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B4D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D8E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D8E#FFFFFF#000000##FFFFFF
##2B4D8E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5490
Deuteranopia (green-blind)
#1B4B8D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4d8e;
/* rgb */ color: rgb(43, 77, 142);
/* oklch */ color: oklch(43.0% 0.115 262.0);
Tailwind
colors: {
  custom: {
    50: '#707eaf',
    500: '#2b4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d8e;
$custom-light: #707eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d8e",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 219.394,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4302,
    "c": 0.11473,
    "h": 262
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#2B4D8E
secondary
#B6985F
accent
#AB4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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