#2B5CB9#2B5CB9

#2B5CB9 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.157 H 261.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2B5CB9
RGBrgb(43, 92, 185)
HSLhsl(219, 62%, 45%)
HSVhsv(219, 77%, 73%)
CMYKcmyk(76.8%, 50.3%, 0%, 27.5%)
CIE-LABlab(40.69, 17.04, -53.87)
CIE-LCHlch(40.69, 56.50, 287.55°)
OKLaboklab(49.44% -0.0227 -0.1549)
OKLCHoklch(49.44% 0.157 261.7)
XYZxyz(13.5772, 11.6691, 47.4263)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CB9 #B9882B
analogous
#2BA3B9 #2B5CB9 #412BB9
triadic
#2B5CB9 #B92B5C #5CB92B
tetradic
#2B5CB9 #B92BA3 #B9882B #2BB941
square
#2B5CB9 #B92BA3 #B9882B #2BB941
split-complementary
#2B5CB9 #B9412B #A3B92B
monochromatic
#142B56 #1F4387 #2B5CB9 #4C7BD5 #7EA0E1

Accessibility & contrast

On white

6.30
#2B5CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2B5CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CB9
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CB9#FFFFFF#000000##FFFFFF
##2B5CB91.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BC
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5cb9;
/* rgb */ color: rgb(43, 92, 185);
/* oklch */ color: oklch(49.4% 0.157 261.7);
Tailwind
colors: {
  custom: {
    50: '#7989cf',
    500: '#2b5cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cb9;
$custom-light: #7989cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cb9",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 219.296,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.1566,
    "h": 261.7
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#2B5CB9
secondary
#C9AD76
accent
#AD42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2B5CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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