#2B4EA9#2B4EA9

#2B4EA9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.152 H 265.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B4EA9
RGBrgb(43, 78, 169)
HSLhsl(223, 59%, 42%)
HSVhsv(223, 75%, 66%)
CMYKcmyk(74.6%, 53.8%, 0%, 33.7%)
CIE-LABlab(35.65, 20.15, -52.57)
CIE-LCHlch(35.65, 56.31, 290.97°)
OKLaboklab(45.25% -0.0133 -0.1514)
OKLCHoklch(45.25% 0.152 265)
XYZxyz(10.8796, 8.8258, 38.6586)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA9 #A9862B
analogous
#2B8DA9 #2B4EA9 #472BA9
triadic
#2B4EA9 #A92B4E #4EA92B
tetradic
#2B4EA9 #A92B8D #A9862B #2BA947
square
#2B4EA9 #A92B8D #A9862B #2BA947
split-complementary
#2B4EA9 #A9472B #8DA92B
monochromatic
#122147 #1F3778 #2B4EA9 #4269CF #7390DB

Accessibility & contrast

On white

7.59
#2B4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B4EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EA9
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA9#FFFFFF#000000##FFFFFF
##2B4EA91.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095AAC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4ea9;
/* rgb */ color: rgb(43, 78, 169);
/* oklch */ color: oklch(45.2% 0.152 265.0);
Tailwind
colors: {
  custom: {
    50: '#767fc3',
    500: '#2b4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea9;
$custom-light: #767fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea9",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 223.333,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.15196,
    "h": 265
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#2B4EA9
secondary
#C3AB6D
accent
#B745E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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