#2B72E2#2B72E2

#2B72E2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.185 H 259.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2B72E2
RGBrgb(43, 114, 226)
HSLhsl(217, 76%, 53%)
HSVhsv(217, 81%, 89%)
CMYKcmyk(81%, 49.6%, 0%, 11.4%)
CIE-LABlab(49.54, 18.50, -63.10)
CIE-LCHlch(49.54, 65.75, 286.34°)
OKLaboklab(57.1% -0.0336 -0.1817)
OKLCHoklch(57.1% 0.185 259.5)
XYZxyz(20.7360, 18.0367, 74.3253)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B72E2 #E29B2B
analogous
#2BCEE2 #2B72E2 #3F2BE2
triadic
#2B72E2 #E22B72 #72E22B
tetradic
#2B72E2 #E22BCE #E29B2B #2BE23F
square
#2B72E2 #E22BCE #E29B2B #2BE23F
split-complementary
#2B72E2 #E23F2B #CEE22B
monochromatic
#123D81 #1956B7 #2B72E2 #6196E9 #97BAF1

Accessibility & contrast

On white

4.56
#2B72E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2B72E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B72E2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B72E2#FFFFFF#000000##000000
##2B72E21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7FE6
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b72e2;
/* rgb */ color: rgb(43, 114, 226);
/* oklch */ color: oklch(57.1% 0.185 259.5);
Tailwind
colors: {
  custom: {
    50: '#8299ec',
    500: '#2b72e2',
    950: '#000000',
  },
}
SCSS
$custom: #2b72e2;
$custom-light: #8299ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2b72e2",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 216.721,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.18475,
    "h": 259.5
  },
  "luminance": 0.18039
}

Semantic roles & 50–950 ramp

primary
#2B72E2
secondary
#DCBD8D
accent
#A935F3
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #2B72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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