#2B5AC9#2B5AC9

#2B5AC9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.181 H 263.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2B5AC9
RGBrgb(43, 90, 201)
HSLhsl(222, 65%, 48%)
HSVhsv(222, 79%, 79%)
CMYKcmyk(78.6%, 55.2%, 0%, 21.2%)
CIE-LABlab(41.28, 24.44, -62.21)
CIE-LCHlch(41.28, 66.84, 291.45°)
OKLaboklab(50.25% -0.0196 -0.1795)
OKLCHoklch(50.25% 0.181 263.8)
XYZxyz(15.1913, 12.0412, 56.7706)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AC9 #C99A2B
analogous
#2BA9C9 #2B5AC9 #4B2BC9
triadic
#2B5AC9 #C92B5A #5AC92B
tetradic
#2B5AC9 #C92BA9 #C99A2B #2BC94B
square
#2B5AC9 #C92BA9 #C99A2B #2BC94B
split-complementary
#2B5AC9 #C94B2B #A9C92B
monochromatic
#152D64 #204397 #2B5AC9 #567EDB #89A4E6

Accessibility & contrast

On white

6.16
#2B5AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2B5AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AC9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AC9#FFFFFF#000000##FFFFFF
##2B5AC91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5ac9;
/* rgb */ color: rgb(43, 90, 201);
/* oklch */ color: oklch(50.3% 0.181 263.8);
Tailwind
colors: {
  custom: {
    50: '#7d88da',
    500: '#2b5ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ac9;
$custom-light: #7d88da;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ac9",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 201
  },
  "hsl": {
    "h": 222.152,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.18058,
    "h": 263.8
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

primary
#2B5AC9
secondary
#CFB880
accent
#B640E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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