#2B4F85#2B4F85

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

Color values

HEX#2B4F85
RGBrgb(43, 79, 133)
HSLhsl(216, 51%, 35%)
HSVhsv(216, 68%, 52%)
CMYKcmyk(67.7%, 40.6%, 0%, 47.8%)
CIE-LABlab(33.56, 5.73, -34.13)
CIE-LCHlch(33.56, 34.60, 279.53°)
OKLaboklab(42.88% -0.02 -0.0971)
OKLCHoklch(42.88% 0.099 258.3)
XYZxyz(8.0244, 7.7982, 23.2681)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F85 #85612B
analogous
#2B7C85 #2B4F85 #342B85
triadic
#2B4F85 #852B4F #4F852B
tetradic
#2B4F85 #852B7C #85612B #2B8534
square
#2B4F85 #852B7C #85612B #2B8534
split-complementary
#2B4F85 #85342B #7C852B
monochromatic
#0D1829 #1C3457 #2B4F85 #3A6AB3 #5F8ACB

Accessibility & contrast

On white

8.20
#2B4F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B4F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F85
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F85#FFFFFF#000000##FFFFFF
##2B4F851.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375387
Deuteranopia (green-blind)
#2A4B84
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4f85;
/* rgb */ color: rgb(43, 79, 133);
/* oklch */ color: oklch(42.9% 0.099 258.3);
Tailwind
colors: {
  custom: {
    50: '#6e7fa9',
    500: '#2b4f85',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f85;
$custom-light: #6e7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f85",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 216,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42882,
    "c": 0.09917,
    "h": 258.3
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#2B4F85
secondary
#B18F5B
accent
#A24DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4F85

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

Preview Lab → · Contrast checker → · Palette generator →

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