#2B4AA8#2B4AA8

#2B4AA8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.156 H 266.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2B4AA8
RGBrgb(43, 74, 168)
HSLhsl(225, 59%, 41%)
HSVhsv(225, 74%, 66%)
CMYKcmyk(74.4%, 56%, 0%, 34.1%)
CIE-LABlab(34.47, 22.44, -53.88)
CIE-LCHlch(34.47, 58.37, 292.61°)
OKLaboklab(44.34% -0.0102 -0.1553)
OKLCHoklch(44.34% 0.156 266.3)
XYZxyz(10.5104, 8.2372, 38.0742)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AA8 #A8892B
analogous
#2B89A8 #2B4AA8 #4B2BA8
triadic
#2B4AA8 #A82B4A #4AA82B
tetradic
#2B4AA8 #A82B89 #A8892B #2BA84B
square
#2B4AA8 #A82B89 #A8892B #2BA84B
split-complementary
#2B4AA8 #A84B2B #89A82B
monochromatic
#121F47 #1F3577 #2B4AA8 #4265CF #728CDB

Accessibility & contrast

On white

7.93
#2B4AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B4AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AA8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AA8#FFFFFF#000000##FFFFFF
##2B4AA81.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4aa8;
/* rgb */ color: rgb(43, 74, 168);
/* oklch */ color: oklch(44.3% 0.156 266.3);
Tailwind
colors: {
  custom: {
    50: '#767cc3',
    500: '#2b4aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aa8;
$custom-light: #767cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aa8",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 225.12,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.15562,
    "h": 266.3
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#2B4AA8
secondary
#C2AD6C
accent
#BB45E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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