#2B5AD0#2B5AD0

#2B5AD0 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.190 H 264.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2B5AD0
RGBrgb(43, 90, 208)
HSLhsl(223, 66%, 49%)
HSVhsv(223, 79%, 82%)
CMYKcmyk(79.3%, 56.7%, 0%, 18.4%)
CIE-LABlab(41.81, 27.09, -65.39)
CIE-LCHlch(41.81, 70.77, 292.50°)
OKLaboklab(50.82% -0.0191 -0.1888)
OKLCHoklch(50.82% 0.19 264.2)
XYZxyz(16.0335, 12.3781, 61.2065)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AD0 #D0A12B
analogous
#2BADD0 #2B5AD0 #4F2BD0
triadic
#2B5AD0 #D02B5A #5AD02B
tetradic
#2B5AD0 #D02BAD #D0A12B #2BD04F
square
#2B5AD0 #D02BAD #D0A12B #2BD04F
split-complementary
#2B5AD0 #D04F2B #ADD02B
monochromatic
#162E6B #21449D #2B5AD0 #5B80DD #8EA7E8

Accessibility & contrast

On white

6.04
#2B5AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2B5AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AD0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AD0#FFFFFF#000000##FFFFFF
##2B5AD01.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005BCE
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5ad0;
/* rgb */ color: rgb(43, 90, 208);
/* oklch */ color: oklch(50.8% 0.190 264.2);
Tailwind
colors: {
  custom: {
    50: '#7f88df',
    500: '#2b5ad0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ad0;
$custom-light: #7f88df;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ad0",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 208
  },
  "hsl": {
    "h": 222.909,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.18981,
    "h": 264.2
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#2B5AD0
secondary
#D2BC85
accent
#B83FE9
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2B5AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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