#2B4E8E#2B4E8E

#2B4E8E is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.113 H 261.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2B4E8E
RGBrgb(43, 78, 142)
HSLhsl(219, 54%, 36%)
HSVhsv(219, 70%, 56%)
CMYKcmyk(69.7%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.80, 9.81, -39.25)
CIE-LCHlch(33.80, 40.46, 284.03°)
OKLaboklab(43.25% -0.017 -0.1122)
OKLCHoklch(43.25% 0.113 261.4)
XYZxyz(8.6014, 7.9145, 26.6603)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E8E #8E6B2B
analogous
#2B808E #2B4E8E #3A2B8E
triadic
#2B4E8E #8E2B4E #4E8E2B
tetradic
#2B4E8E #8E2B80 #8E6B2B #2B8E3A
square
#2B4E8E #8E2B80 #8E6B2B #2B8E3A
split-complementary
#2B4E8E #8E3A2B #808E2B
monochromatic
#0F1A30 #1D345F #2B4E8E #3968BD #638AD0

Accessibility & contrast

On white

8.13
#2B4E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B4E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E8E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E8E#FFFFFF#000000##FFFFFF
##2B4E8E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4e8e;
/* rgb */ color: rgb(43, 78, 142);
/* oklch */ color: oklch(43.2% 0.113 261.4);
Tailwind
colors: {
  custom: {
    50: '#707faf',
    500: '#2b4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e8e;
$custom-light: #707faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e8e",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 218.788,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.11348,
    "h": 261.4
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#2B4E8E
secondary
#B6975F
accent
#A94BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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