#2B5CBC#2B5CBC

#2B5CBC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.161 H 262.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2B5CBC
RGBrgb(43, 92, 188)
HSLhsl(220, 63%, 45%)
HSVhsv(220, 77%, 74%)
CMYKcmyk(77.1%, 51.1%, 0%, 26.3%)
CIE-LABlab(40.89, 18.19, -55.29)
CIE-LCHlch(40.89, 58.21, 288.21°)
OKLaboklab(49.66% -0.0223 -0.1591)
OKLCHoklch(49.66% 0.161 262)
XYZxyz(13.8972, 11.7971, 49.1118)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CBC #BC8B2B
analogous
#2BA5BC #2B5CBC #422BBC
triadic
#2B5CBC #BC2B5C #5CBC2B
tetradic
#2B5CBC #BC2BA5 #BC8B2B #2BBC42
square
#2B5CBC #BC2BA5 #BC8B2B #2BBC42
split-complementary
#2B5CBC #BC422B #A5BC2B
monochromatic
#142B58 #20448A #2B5CBC #4E7CD6 #80A1E2

Accessibility & contrast

On white

6.25
#2B5CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2B5CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CBC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CBC#FFFFFF#000000##FFFFFF
##2B5CBC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5cbc;
/* rgb */ color: rgb(43, 92, 188);
/* oklch */ color: oklch(49.7% 0.161 262.0);
Tailwind
colors: {
  custom: {
    50: '#7a89d1',
    500: '#2b5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cbc;
$custom-light: #7a89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cbc",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 219.724,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49662,
    "c": 0.16068,
    "h": 262
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#2B5CBC
secondary
#CBAF78
accent
#AE42E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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