#2B5CBD#2B5CBD

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

Color values

HEX#2B5CBD
RGBrgb(43, 92, 189)
HSLhsl(220, 63%, 45%)
HSVhsv(220, 77%, 74%)
CMYKcmyk(77.2%, 51.3%, 0%, 25.9%)
CIE-LABlab(40.96, 18.57, -55.76)
CIE-LCHlch(40.96, 58.77, 288.42°)
OKLaboklab(49.74% -0.0222 -0.1605)
OKLCHoklch(49.74% 0.162 262.1)
XYZxyz(14.0054, 11.8404, 49.6815)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CBD #BD8C2B
analogous
#2BA5BD #2B5CBD #432BBD
triadic
#2B5CBD #BD2B5C #5CBD2B
tetradic
#2B5CBD #BD2BA5 #BD8C2B #2BBD43
square
#2B5CBD #BD2BA5 #BD8C2B #2BBD43
split-complementary
#2B5CBD #BD432B #A5BD2B
monochromatic
#142B59 #20448B #2B5CBD #4E7CD7 #80A1E2

Accessibility & contrast

On white

6.23
#2B5CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2B5CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CBD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CBD#FFFFFF#000000##FFFFFF
##2B5CBD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C0
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5cbd;
/* rgb */ color: rgb(43, 92, 189);
/* oklch */ color: oklch(49.7% 0.162 262.1);
Tailwind
colors: {
  custom: {
    50: '#7a89d2',
    500: '#2b5cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cbd;
$custom-light: #7a89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cbd",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 219.863,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49737,
    "c": 0.16204,
    "h": 262.1
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#2B5CBD
secondary
#CBAF79
accent
#AF42E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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