#2B4EA4#2B4EA4

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

Color values

HEX#2B4EA4
RGBrgb(43, 78, 164)
HSLhsl(223, 58%, 41%)
HSVhsv(223, 74%, 64%)
CMYKcmyk(73.8%, 52.4%, 0%, 35.7%)
CIE-LABlab(35.28, 18.24, -50.17)
CIE-LCHlch(35.28, 53.39, 289.98°)
OKLaboklab(44.86% -0.0138 -0.1443)
OKLCHoklch(44.86% 0.145 264.6)
XYZxyz(10.4191, 8.6416, 36.2336)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA4 #A4812B
analogous
#2B8AA4 #2B4EA4 #452BA4
triadic
#2B4EA4 #A42B4E #4EA42B
tetradic
#2B4EA4 #A42B8A #A4812B #2BA445
square
#2B4EA4 #A42B8A #A4812B #2BA445
split-complementary
#2B4EA4 #A4452B #8AA42B
monochromatic
#122043 #1E3774 #2B4EA4 #3F68CD #708ED9

Accessibility & contrast

On white

7.70
#2B4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B4EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EA4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA4#FFFFFF#000000##FFFFFF
##2B4EA41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4ea4;
/* rgb */ color: rgb(43, 78, 164);
/* oklch */ color: oklch(44.9% 0.145 264.6);
Tailwind
colors: {
  custom: {
    50: '#757fc0',
    500: '#2b4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea4;
$custom-light: #757fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea4",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 222.645,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.14496,
    "h": 264.6
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#2B4EA4
secondary
#C1A86A
accent
#B546E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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