#2B5CB8#2B5CB8

#2B5CB8 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.155 H 261.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2B5CB8
RGBrgb(43, 92, 184)
HSLhsl(219, 62%, 45%)
HSVhsv(219, 77%, 72%)
CMYKcmyk(76.6%, 50%, 0%, 27.8%)
CIE-LABlab(40.62, 16.66, -53.40)
CIE-LCHlch(40.62, 55.94, 287.32°)
OKLaboklab(49.36% -0.0228 -0.1535)
OKLCHoklch(49.36% 0.155 261.5)
XYZxyz(13.4720, 11.6270, 46.8723)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CB8 #B8872B
analogous
#2BA3B8 #2B5CB8 #412BB8
triadic
#2B5CB8 #B82B5C #5CB82B
tetradic
#2B5CB8 #B82BA3 #B8872B #2BB841
square
#2B5CB8 #B82BA3 #B8872B #2BB841
split-complementary
#2B5CB8 #B8412B #A3B82B
monochromatic
#142A55 #1F4386 #2B5CB8 #4B7BD5 #7D9FE1

Accessibility & contrast

On white

6.31
#2B5CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5CB8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CB8#FFFFFF#000000##FFFFFF
##2B5CB81.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2567BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5cb8;
/* rgb */ color: rgb(43, 92, 184);
/* oklch */ color: oklch(49.4% 0.155 261.5);
Tailwind
colors: {
  custom: {
    50: '#7989ce',
    500: '#2b5cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cb8;
$custom-light: #7989ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cb8",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 219.149,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.15524,
    "h": 261.5
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#2B5CB8
secondary
#C9AC76
accent
#AD43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2B5CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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