#2B5AA2#2B5AA2

#2B5AA2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.127 H 258.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2B5AA2
RGBrgb(43, 90, 162)
HSLhsl(216, 58%, 40%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(73.5%, 44.4%, 0%, 36.5%)
CIE-LABlab(38.61, 9.54, -43.63)
CIE-LCHlch(38.61, 44.66, 282.33°)
OKLaboklab(47.36% -0.0247 -0.1248)
OKLCHoklch(47.36% 0.127 258.8)
XYZxyz(11.1716, 10.4333, 35.6005)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AA2 #A2732B
analogous
#2B95A2 #2B5AA2 #382BA2
triadic
#2B5AA2 #A22B5A #5AA22B
tetradic
#2B5AA2 #A22B95 #A2732B #2BA238
square
#2B5AA2 #A22B95 #A2732B #2BA238
split-complementary
#2B5AA2 #A2382B #95A22B
monochromatic
#112441 #1E3F72 #2B5AA2 #3E76CC #6F99D9

Accessibility & contrast

On white

6.80
#2B5AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2B5AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AA2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AA2#FFFFFF#000000##FFFFFF
##2B5AA21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5aa2;
/* rgb */ color: rgb(43, 90, 162);
/* oklch */ color: oklch(47.4% 0.127 258.8);
Tailwind
colors: {
  custom: {
    50: '#7488be',
    500: '#2b5aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aa2;
$custom-light: #7488be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aa2",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 216.303,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.12727,
    "h": 258.8
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#2B5AA2
secondary
#C09E69
accent
#A447E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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