#2B4EA6#2B4EA6

#2B4EA6 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.148 H 264.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2B4EA6
RGBrgb(43, 78, 166)
HSLhsl(223, 59%, 41%)
HSVhsv(223, 74%, 65%)
CMYKcmyk(74.1%, 53%, 0%, 34.9%)
CIE-LABlab(35.43, 19.01, -51.14)
CIE-LCHlch(35.43, 54.55, 290.39°)
OKLaboklab(45.01% -0.0135 -0.1471)
OKLCHoklch(45.01% 0.148 264.7)
XYZxyz(10.6012, 8.7144, 37.1923)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA6 #A6832B
analogous
#2B8BA6 #2B4EA6 #452BA6
triadic
#2B4EA6 #A62B4E #4EA62B
tetradic
#2B4EA6 #A62B8B #A6832B #2BA645
square
#2B4EA6 #A62B8B #A6832B #2BA645
split-complementary
#2B4EA6 #A6452B #8BA62B
monochromatic
#122045 #1E3775 #2B4EA6 #4169CE #718FDA

Accessibility & contrast

On white

7.66
#2B4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4EA6
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA6#FFFFFF#000000##FFFFFF
##2B4EA61.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4ea6;
/* rgb */ color: rgb(43, 78, 166);
/* oklch */ color: oklch(45.0% 0.148 264.7);
Tailwind
colors: {
  custom: {
    50: '#757fc1',
    500: '#2b4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea6;
$custom-light: #757fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea6",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 222.927,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.14777,
    "h": 264.7
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#2B4EA6
secondary
#C1A96B
accent
#B646E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2B4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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