#2B4F83#2B4F83

#2B4F83 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.096 H 257.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2B4F83
RGBrgb(43, 79, 131)
HSLhsl(215, 51%, 34%)
HSVhsv(215, 67%, 51%)
CMYKcmyk(67.2%, 39.7%, 0%, 48.6%)
CIE-LABlab(33.44, 4.97, -33.08)
CIE-LCHlch(33.44, 33.45, 278.55°)
OKLaboklab(42.75% -0.0205 -0.0941)
OKLCHoklch(42.75% 0.096 257.7)
XYZxyz(7.8875, 7.7435, 22.5473)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F83 #835F2B
analogous
#2B7B83 #2B4F83 #332B83
triadic
#2B4F83 #832B4F #4F832B
tetradic
#2B4F83 #832B7B #835F2B #2B8333
square
#2B4F83 #832B7B #835F2B #2B8333
split-complementary
#2B4F83 #83332B #7B832B
monochromatic
#0D1727 #1C3355 #2B4F83 #3A6BB1 #5E8ACA

Accessibility & contrast

On white

8.24
#2B4F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4F83
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F83#FFFFFF#000000##FFFFFF
##2B4F831.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#2B4B82
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4f83;
/* rgb */ color: rgb(43, 79, 131);
/* oklch */ color: oklch(42.8% 0.096 257.7);
Tailwind
colors: {
  custom: {
    50: '#6e80a7',
    500: '#2b4f83',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f83;
$custom-light: #6e80a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f83",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 215.455,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.09627,
    "h": 257.7
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#2B4F83
secondary
#B08D5A
accent
#A14EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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