#2B4D88#2B4D88

#2B4D88 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.106 H 260.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2B4D88
RGBrgb(43, 77, 136)
HSLhsl(218, 52%, 35%)
HSVhsv(218, 68%, 53%)
CMYKcmyk(68.4%, 43.4%, 0%, 46.7%)
CIE-LABlab(33.13, 8.19, -36.65)
CIE-LCHlch(33.13, 37.56, 282.60°)
OKLaboklab(42.61% -0.0172 -0.1046)
OKLCHoklch(42.61% 0.106 260.6)
XYZxyz(8.0925, 7.5981, 24.3279)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D88 #88662B
analogous
#2B7B88 #2B4D88 #382B88
triadic
#2B4D88 #882B4D #4D882B
tetradic
#2B4D88 #882B7B #88662B #2B8838
square
#2B4D88 #882B7B #88662B #2B8838
split-complementary
#2B4D88 #88382B #7B882B
monochromatic
#0E182B #1C335A #2B4D88 #3A67B6 #6188CD

Accessibility & contrast

On white

8.33
#2B4D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2B4D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D88
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D88#FFFFFF#000000##FFFFFF
##2B4D881.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538A
Deuteranopia (green-blind)
#234A87
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4d88;
/* rgb */ color: rgb(43, 77, 136);
/* oklch */ color: oklch(42.6% 0.106 260.6);
Tailwind
colors: {
  custom: {
    50: '#6f7eab',
    500: '#2b4d88',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d88;
$custom-light: #6f7eab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d88",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 136
  },
  "hsl": {
    "h": 218.065,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42609,
    "c": 0.10597,
    "h": 260.6
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#2B4D88
secondary
#B3935C
accent
#A74CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4D88

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

Preview Lab → · Contrast checker → · Palette generator →

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