#2B4DAD#2B4DAD

#2B4DAD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.159 H 265.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B4DAD
RGBrgb(43, 77, 173)
HSLhsl(224, 60%, 42%)
HSVhsv(224, 75%, 68%)
CMYKcmyk(75.1%, 55.5%, 0%, 32.2%)
CIE-LABlab(35.67, 22.35, -54.92)
CIE-LCHlch(35.67, 59.29, 292.14°)
OKLaboklab(45.36% -0.0122 -0.1583)
OKLCHoklch(45.36% 0.159 265.6)
XYZxyz(11.1903, 8.8373, 40.6431)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DAD #AD8B2B
analogous
#2B8EAD #2B4DAD #4A2BAD
triadic
#2B4DAD #AD2B4D #4DAD2B
tetradic
#2B4DAD #AD2B8E #AD8B2B #2BAD4A
square
#2B4DAD #AD2B8E #AD8B2B #2BAD4A
split-complementary
#2B4DAD #AD4A2B #8EAD2B
monochromatic
#13214B #1F377C #2B4DAD #4569D1 #7691DD

Accessibility & contrast

On white

7.59
#2B4DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B4DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DAD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DAD#FFFFFF#000000##FFFFFF
##2B4DAD1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4dad;
/* rgb */ color: rgb(43, 77, 173);
/* oklch */ color: oklch(45.4% 0.159 265.6);
Tailwind
colors: {
  custom: {
    50: '#777ec6',
    500: '#2b4dad',
    950: '#000000',
  },
}
SCSS
$custom: #2b4dad;
$custom-light: #777ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4dad",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 224.308,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.15876,
    "h": 265.6
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#2B4DAD
secondary
#C4AE6F
accent
#BA44E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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