#2B4FAB#2B4FAB

#2B4FAB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.153 H 264.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2B4FAB
RGBrgb(43, 79, 171)
HSLhsl(223, 60%, 42%)
HSVhsv(223, 75%, 67%)
CMYKcmyk(74.9%, 53.8%, 0%, 32.9%)
CIE-LABlab(36.07, 20.25, -53.08)
CIE-LCHlch(36.07, 56.81, 290.89°)
OKLaboklab(45.61% -0.0139 -0.1529)
OKLCHoklch(45.61% 0.153 264.8)
XYZxyz(11.1403, 9.0446, 39.6788)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FAB #AB872B
analogous
#2B8FAB #2B4FAB #472BAB
triadic
#2B4FAB #AB2B4F #4FAB2B
tetradic
#2B4FAB #AB2B8F #AB872B #2BAB47
square
#2B4FAB #AB2B8F #AB872B #2BAB47
split-complementary
#2B4FAB #AB472B #8FAB2B
monochromatic
#122249 #1F387A #2B4FAB #436BD0 #7491DC

Accessibility & contrast

On white

7.48
#2B4FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2B4FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FAB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FAB#FFFFFF#000000##FFFFFF
##2B4FAB1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085BAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4fab;
/* rgb */ color: rgb(43, 79, 171);
/* oklch */ color: oklch(45.6% 0.153 264.8);
Tailwind
colors: {
  custom: {
    50: '#777fc5',
    500: '#2b4fab',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fab;
$custom-light: #777fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fab",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 223.125,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.15348,
    "h": 264.8
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#2B4FAB
secondary
#C4AC6E
accent
#B645E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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