#2B4DA7#2B4DA7

#2B4DA7 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.150 H 265.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2B4DA7
RGBrgb(43, 77, 167)
HSLhsl(224, 59%, 41%)
HSVhsv(224, 74%, 65%)
CMYKcmyk(74.3%, 53.9%, 0%, 34.5%)
CIE-LABlab(35.22, 20.06, -52.07)
CIE-LCHlch(35.22, 55.80, 291.07°)
OKLaboklab(44.88% -0.0126 -0.1499)
OKLCHoklch(44.88% 0.15 265.2)
XYZxyz(10.6227, 8.6102, 37.6538)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DA7 #A7852B
analogous
#2B8BA7 #2B4DA7 #472BA7
triadic
#2B4DA7 #A72B4D #4DA72B
tetradic
#2B4DA7 #A72B8B #A7852B #2BA747
square
#2B4DA7 #A72B8B #A7852B #2BA747
split-complementary
#2B4DA7 #A7472B #8BA72B
monochromatic
#122046 #1E3776 #2B4DA7 #4168CE #728FDB

Accessibility & contrast

On white

7.71
#2B4DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B4DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DA7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DA7#FFFFFF#000000##FFFFFF
##2B4DA71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0959AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4da7;
/* rgb */ color: rgb(43, 77, 167);
/* oklch */ color: oklch(44.9% 0.150 265.2);
Tailwind
colors: {
  custom: {
    50: '#767ec2',
    500: '#2b4da7',
    950: '#000000',
  },
}
SCSS
$custom: #2b4da7;
$custom-light: #767ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4da7",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 223.548,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44878,
    "c": 0.15043,
    "h": 265.2
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#2B4DA7
secondary
#C2AA6C
accent
#B746E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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