#2B5DC2#2B5DC2

#2B5DC2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.168 H 262.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2B5DC2
RGBrgb(43, 93, 194)
HSLhsl(220, 64%, 46%)
HSVhsv(220, 78%, 76%)
CMYKcmyk(77.8%, 52.1%, 0%, 23.9%)
CIE-LABlab(41.59, 19.83, -57.66)
CIE-LCHlch(41.59, 60.97, 288.98°)
OKLaboklab(50.33% -0.0224 -0.1661)
OKLCHoklch(50.33% 0.168 262.3)
XYZxyz(14.6447, 12.2356, 52.6184)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DC2 #C2902B
analogous
#2BA9C2 #2B5DC2 #442BC2
triadic
#2B5DC2 #C22B5D #5DC22B
tetradic
#2B5DC2 #C22BA9 #C2902B #2BC244
square
#2B5DC2 #C22BA9 #C2902B #2BC244
split-complementary
#2B5DC2 #C2442B #A9C22B
monochromatic
#152D5E #204590 #2B5DC2 #527ED9 #84A3E4

Accessibility & contrast

On white

6.09
#2B5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2B5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DC2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DC2#FFFFFF#000000##FFFFFF
##2B5DC21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5dc2;
/* rgb */ color: rgb(43, 93, 194);
/* oklch */ color: oklch(50.3% 0.168 262.3);
Tailwind
colors: {
  custom: {
    50: '#7b8ad5',
    500: '#2b5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dc2;
$custom-light: #7b8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dc2",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 220.132,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.16756,
    "h": 262.3
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#2B5DC2
secondary
#CDB27C
accent
#B041E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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