#2B4D85#2B4D85

#2B4D85 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.102 H 259.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2B4D85
RGBrgb(43, 77, 133)
HSLhsl(217, 51%, 35%)
HSVhsv(217, 68%, 52%)
CMYKcmyk(67.7%, 42.1%, 0%, 47.8%)
CIE-LABlab(32.95, 7.05, -35.10)
CIE-LCHlch(32.95, 35.80, 281.36°)
OKLaboklab(42.41% -0.0179 -0.1)
OKLCHoklch(42.41% 0.102 259.9)
XYZxyz(7.8823, 7.5140, 23.2207)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D85 #85632B
analogous
#2B7A85 #2B4D85 #362B85
triadic
#2B4D85 #852B4D #4D852B
tetradic
#2B4D85 #852B7A #85632B #2B8536
square
#2B4D85 #852B7A #85632B #2B8536
split-complementary
#2B4D85 #85362B #7A852B
monochromatic
#0D1729 #1C3257 #2B4D85 #3A68B3 #5F88CB

Accessibility & contrast

On white

8.39
#2B4D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B4D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D85
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D85#FFFFFF#000000##FFFFFF
##2B4D851.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#264A84
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4d85;
/* rgb */ color: rgb(43, 77, 133);
/* oklch */ color: oklch(42.4% 0.102 259.9);
Tailwind
colors: {
  custom: {
    50: '#6e7ea9',
    500: '#2b4d85',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d85;
$custom-light: #6e7ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d85",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 133
  },
  "hsl": {
    "h": 217.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.10159,
    "h": 259.9
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#2B4D85
secondary
#B1905B
accent
#A54DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4D85

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

Preview Lab → · Contrast checker → · Palette generator →

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