#2B4EA5#2B4EA5

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

Color values

HEX#2B4EA5
RGBrgb(43, 78, 165)
HSLhsl(223, 59%, 41%)
HSVhsv(223, 74%, 65%)
CMYKcmyk(73.9%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.36, 18.62, -50.66)
CIE-LCHlch(35.36, 53.97, 290.19°)
OKLaboklab(44.93% -0.0136 -0.1457)
OKLCHoklch(44.93% 0.146 264.6)
XYZxyz(10.5098, 8.6779, 36.7111)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA5 #A5822B
analogous
#2B8BA5 #2B4EA5 #452BA5
triadic
#2B4EA5 #A52B4E #4EA52B
tetradic
#2B4EA5 #A52B8B #A5822B #2BA545
square
#2B4EA5 #A52B8B #A5822B #2BA545
split-complementary
#2B4EA5 #A5452B #8BA52B
monochromatic
#122044 #1E3774 #2B4EA5 #4068CD #718FDA

Accessibility & contrast

On white

7.68
#2B4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B4EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EA5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA5#FFFFFF#000000##FFFFFF
##2B4EA51.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4ea5;
/* rgb */ color: rgb(43, 78, 165);
/* oklch */ color: oklch(44.9% 0.146 264.6);
Tailwind
colors: {
  custom: {
    50: '#757fc0',
    500: '#2b4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea5;
$custom-light: #757fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea5",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 222.787,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.14637,
    "h": 264.6
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#2B4EA5
secondary
#C1A86B
accent
#B546E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2B4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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