#2B5ABC#2B5ABC

#2B5ABC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.163 H 262.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2B5ABC
RGBrgb(43, 90, 188)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 77%, 74%)
CMYKcmyk(77.1%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.34, 19.50, -56.19)
CIE-LCHlch(40.34, 59.48, 289.13°)
OKLaboklab(49.24% -0.0208 -0.1618)
OKLCHoklch(49.24% 0.163 262.7)
XYZxyz(13.7263, 11.4552, 49.0549)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5ABC #BC8D2B
analogous
#2BA2BC #2B5ABC #452BBC
triadic
#2B5ABC #BC2B5A #5ABC2B
tetradic
#2B5ABC #BC2BA2 #BC8D2B #2BBC45
square
#2B5ABC #BC2BA2 #BC8D2B #2BBC45
split-complementary
#2B5ABC #BC452B #A2BC2B
monochromatic
#142A58 #20428A #2B5ABC #4E7AD6 #809FE2

Accessibility & contrast

On white

6.38
#2B5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2B5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5ABC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5ABC#FFFFFF#000000##FFFFFF
##2B5ABC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5abc;
/* rgb */ color: rgb(43, 90, 188);
/* oklch */ color: oklch(49.2% 0.163 262.7);
Tailwind
colors: {
  custom: {
    50: '#7a88d1',
    500: '#2b5abc',
    950: '#000000',
  },
}
SCSS
$custom: #2b5abc;
$custom-light: #7a88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5abc",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 220.552,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.16313,
    "h": 262.7
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#2B5ABC
secondary
#CBB078
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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