#2B4F89#2B4F89

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

Color values

HEX#2B4F89
RGBrgb(43, 79, 137)
HSLhsl(217, 52%, 35%)
HSVhsv(217, 69%, 54%)
CMYKcmyk(68.6%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.80, 7.24, -36.20)
CIE-LCHlch(33.80, 36.92, 281.31°)
OKLaboklab(43.14% -0.0191 -0.1032)
OKLCHoklch(43.14% 0.105 259.5)
XYZxyz(8.3060, 7.9109, 24.7513)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F89 #89652B
analogous
#2B7E89 #2B4F89 #362B89
triadic
#2B4F89 #892B4F #4F892B
tetradic
#2B4F89 #892B7E #89652B #2B8936
square
#2B4F89 #892B7E #89652B #2B8936
split-complementary
#2B4F89 #89362B #7E892B
monochromatic
#0E192C #1C345A #2B4F89 #3A6AB8 #618BCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4F89#FFFFFF#000000##FFFFFF
##2B4F891.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)
#34548B
Deuteranopia (green-blind)
#264B88
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4f89;
/* rgb */ color: rgb(43, 79, 137);
/* oklch */ color: oklch(43.1% 0.105 259.5);
Tailwind
colors: {
  custom: {
    50: '#6f7fac',
    500: '#2b4f89',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f89;
$custom-light: #6f7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f89",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 217.021,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.10497,
    "h": 259.5
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#2B4F89
secondary
#B3925C
accent
#A54CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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