#2B4F86#2B4F86

#2B4F86 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.101 H 258.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2B4F86
RGBrgb(43, 79, 134)
HSLhsl(216, 51%, 35%)
HSVhsv(216, 68%, 53%)
CMYKcmyk(67.9%, 41%, 0%, 47.5%)
CIE-LABlab(33.62, 6.11, -34.65)
CIE-LCHlch(33.62, 35.18, 279.99°)
OKLaboklab(42.95% -0.0198 -0.0986)
OKLCHoklch(42.95% 0.101 258.7)
XYZxyz(8.0938, 7.8260, 23.6337)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F86 #86622B
analogous
#2B7C86 #2B4F86 #352B86
triadic
#2B4F86 #862B4F #4F862B
tetradic
#2B4F86 #862B7C #86622B #2B8635
square
#2B4F86 #862B7C #86622B #2B8635
split-complementary
#2B4F86 #86352B #7C862B
monochromatic
#0D1829 #1C3458 #2B4F86 #3A6AB4 #608ACC

Accessibility & contrast

On white

8.19
#2B4F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B4F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F86
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F86#FFFFFF#000000##FFFFFF
##2B4F861.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365488
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4f86;
/* rgb */ color: rgb(43, 79, 134);
/* oklch */ color: oklch(42.9% 0.101 258.7);
Tailwind
colors: {
  custom: {
    50: '#6f7fa9',
    500: '#2b4f86',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f86;
$custom-light: #6f7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f86",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 216.264,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.10062,
    "h": 258.7
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#2B4F86
secondary
#B28F5B
accent
#A34DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4F86

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

Preview Lab → · Contrast checker → · Palette generator →

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