#2B4A87#2B4A87

#2B4A87 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.108 H 262.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2B4A87
RGBrgb(43, 74, 135)
HSLhsl(220, 52%, 35%)
HSVhsv(220, 68%, 53%)
CMYKcmyk(68.1%, 45.2%, 0%, 47.1%)
CIE-LABlab(32.17, 9.82, -37.58)
CIE-LCHlch(32.17, 38.84, 284.64°)
OKLaboklab(41.85% -0.0143 -0.1073)
OKLCHoklch(41.85% 0.108 262.4)
XYZxyz(7.8167, 7.1597, 23.8870)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A87 #87682B
analogous
#2B7887 #2B4A87 #3A2B87
triadic
#2B4A87 #872B4A #4A872B
tetradic
#2B4A87 #872B78 #87682B #2B873A
square
#2B4A87 #872B78 #87682B #2B873A
split-complementary
#2B4A87 #873A2B #78872B
monochromatic
#0D172A #1C3159 #2B4A87 #3A63B5 #6085CC

Accessibility & contrast

On white

8.63
#2B4A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B4A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A87
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A87#FFFFFF#000000##FFFFFF
##2B4A871.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#1D4886
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4a87;
/* rgb */ color: rgb(43, 74, 135);
/* oklch */ color: oklch(41.8% 0.108 262.4);
Tailwind
colors: {
  custom: {
    50: '#6f7caa',
    500: '#2b4a87',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a87;
$custom-light: #6f7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a87",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 219.783,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.10827,
    "h": 262.4
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#2B4A87
secondary
#B2955B
accent
#AB4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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