#2D54D3#2D54D3

#2D54D3 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.0% C 0.200 H 266.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2D54D3
RGBrgb(45, 84, 211)
HSLhsl(226, 65%, 50%)
HSVhsv(226, 79%, 83%)
CMYKcmyk(78.7%, 60.2%, 0%, 17.3%)
CIE-LABlab(40.57, 32.26, -69.13)
CIE-LCHlch(40.57, 76.29, 295.02°)
OKLaboklab(49.99% -0.0139 -0.1999)
OKLCHoklch(49.99% 0.2 266)
XYZxyz(16.0062, 11.5998, 63.0108)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54D3 #D3AC2D
analogous
#2DA7D3 #2D54D3 #592DD3
triadic
#2D54D3 #D32D54 #54D32D
tetradic
#2D54D3 #D32DA7 #D3AC2D #2DD359
square
#2D54D3 #D32DA7 #D3AC2D #2DD359
split-complementary
#2D54D3 #D3592D #A7D32D
monochromatic
#172C6E #2240A1 #2D54D3 #607DDE #92A6E8

Accessibility & contrast

On white

6.32
#2D54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2D54D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54D3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54D3#FFFFFF#000000##FFFFFF
##2D54D31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0058D1
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d54d3;
/* rgb */ color: rgb(45, 84, 211);
/* oklch */ color: oklch(50.0% 0.200 266.0);
Tailwind
colors: {
  custom: {
    50: '#8083e1',
    500: '#2d54d3',
    950: '#000000',
  },
}
SCSS
$custom: #2d54d3;
$custom-light: #8083e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54d3",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 225.904,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.20036,
    "h": 266
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#2D54D3
secondary
#D3C289
accent
#C13FE8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2D54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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