#2B4DA9#2B4DA9

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

Color values

HEX#2B4DA9
RGBrgb(43, 77, 169)
HSLhsl(224, 59%, 42%)
HSVhsv(224, 75%, 66%)
CMYKcmyk(74.6%, 54.4%, 0%, 33.7%)
CIE-LABlab(35.37, 20.82, -53.02)
CIE-LCHlch(35.37, 56.96, 291.44°)
OKLaboklab(45.04% -0.0125 -0.1527)
OKLCHoklch(45.04% 0.153 265.3)
XYZxyz(10.8090, 8.6847, 38.6351)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DA9 #A9872B
analogous
#2B8CA9 #2B4DA9 #482BA9
triadic
#2B4DA9 #A92B4D #4DA92B
tetradic
#2B4DA9 #A92B8C #A9872B #2BA948
square
#2B4DA9 #A92B8C #A9872B #2BA948
split-complementary
#2B4DA9 #A9482B #8CA92B
monochromatic
#122147 #1F3778 #2B4DA9 #4268CF #738FDB

Accessibility & contrast

On white

7.67
#2B4DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4DA9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DA9#FFFFFF#000000##FFFFFF
##2B4DA91.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4da9;
/* rgb */ color: rgb(43, 77, 169);
/* oklch */ color: oklch(45.0% 0.153 265.3);
Tailwind
colors: {
  custom: {
    50: '#767ec3',
    500: '#2b4da9',
    950: '#000000',
  },
}
SCSS
$custom: #2b4da9;
$custom-light: #767ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4da9",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 223.81,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.15322,
    "h": 265.3
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#2B4DA9
secondary
#C3AC6D
accent
#B845E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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