#2B5DC0#2B5DC0

#2B5DC0 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.165 H 262.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2B5DC0
RGBrgb(43, 93, 192)
HSLhsl(220, 63%, 46%)
HSVhsv(220, 78%, 75%)
CMYKcmyk(77.6%, 51.6%, 0%, 24.7%)
CIE-LABlab(41.45, 19.06, -56.72)
CIE-LCHlch(41.45, 59.84, 288.58°)
OKLaboklab(50.17% -0.0226 -0.1633)
OKLCHoklch(50.17% 0.165 262.1)
XYZxyz(14.4216, 12.1464, 51.4434)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DC0 #C08E2B
analogous
#2BA7C0 #2B5DC0 #442BC0
triadic
#2B5DC0 #C02B5D #5DC02B
tetradic
#2B5DC0 #C02BA7 #C08E2B #2BC044
square
#2B5DC0 #C02BA7 #C08E2B #2BC044
split-complementary
#2B5DC0 #C0442B #A7C02B
monochromatic
#152D5C #20458E #2B5DC0 #507ED8 #82A3E3

Accessibility & contrast

On white

6.12
#2B5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2B5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DC0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DC0#FFFFFF#000000##FFFFFF
##2B5DC01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5dc0;
/* rgb */ color: rgb(43, 93, 192);
/* oklch */ color: oklch(50.2% 0.165 262.1);
Tailwind
colors: {
  custom: {
    50: '#7b8ad4',
    500: '#2b5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dc0;
$custom-light: #7b8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dc0",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 219.866,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50174,
    "c": 0.16487,
    "h": 262.1
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#2B5DC0
secondary
#CCB17B
accent
#AF41E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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