#2B5BC9#2B5BC9

#2B5BC9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.179 H 263.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2B5BC9
RGBrgb(43, 91, 201)
HSLhsl(222, 65%, 48%)
HSVhsv(222, 79%, 79%)
CMYKcmyk(78.6%, 54.7%, 0%, 21.2%)
CIE-LABlab(41.55, 23.79, -61.78)
CIE-LCHlch(41.55, 66.20, 291.06°)
OKLaboklab(50.46% -0.0203 -0.1782)
OKLCHoklch(50.46% 0.179 263.5)
XYZxyz(15.2762, 12.2110, 56.7989)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BC9 #C9992B
analogous
#2BAAC9 #2B5BC9 #4A2BC9
triadic
#2B5BC9 #C92B5B #5BC92B
tetradic
#2B5BC9 #C92BAA #C9992B #2BC94A
square
#2B5BC9 #C92BAA #C9992B #2BC94A
split-complementary
#2B5BC9 #C94A2B #AAC92B
monochromatic
#152D64 #204497 #2B5BC9 #567FDB #89A5E6

Accessibility & contrast

On white

6.10
#2B5BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2B5BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BC9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BC9#FFFFFF#000000##FFFFFF
##2B5BC91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5bc9;
/* rgb */ color: rgb(43, 91, 201);
/* oklch */ color: oklch(50.5% 0.179 263.5);
Tailwind
colors: {
  custom: {
    50: '#7d88da',
    500: '#2b5bc9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bc9;
$custom-light: #7d88da;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bc9",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 221.772,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.17936,
    "h": 263.5
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#2B5BC9
secondary
#CFB780
accent
#B540E8
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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