#2B4985#2B4985

#2B4985 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.107 H 262.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2B4985
RGBrgb(43, 73, 133)
HSLhsl(220, 51%, 35%)
HSVhsv(220, 68%, 52%)
CMYKcmyk(67.7%, 45.1%, 0%, 47.8%)
CIE-LABlab(31.74, 9.73, -37.02)
CIE-LCHlch(31.74, 38.28, 284.72°)
OKLaboklab(41.48% -0.0136 -0.1057)
OKLCHoklch(41.48% 0.107 262.7)
XYZxyz(7.6110, 6.9714, 23.1303)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4985 #85672B
analogous
#2B7685 #2B4985 #3A2B85
triadic
#2B4985 #852B49 #49852B
tetradic
#2B4985 #852B76 #85672B #2B853A
square
#2B4985 #852B76 #85672B #2B853A
split-complementary
#2B4985 #853A2B #76852B
monochromatic
#0D1629 #1C3057 #2B4985 #3A62B3 #5F83CB

Accessibility & contrast

On white

8.77
#2B4985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2B4985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4985
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4985#FFFFFF#000000##FFFFFF
##2B49851.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F87
Deuteranopia (green-blind)
#1E4784
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b4985;
/* rgb */ color: rgb(43, 73, 133);
/* oklch */ color: oklch(41.5% 0.107 262.7);
Tailwind
colors: {
  custom: {
    50: '#6f7ba9',
    500: '#2b4985',
    950: '#000000',
  },
}
SCSS
$custom: #2b4985;
$custom-light: #6f7ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4985",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 220,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41476,
    "c": 0.10659,
    "h": 262.7
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#2B4985
secondary
#B1945B
accent
#AB4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4985

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

Preview Lab → · Contrast checker → · Palette generator →

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