#2C54D3#2C54D3

#2C54D3 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 49.9% C 0.201 H 265.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2C54D3
RGBrgb(44, 84, 211)
HSLhsl(226, 65%, 50%)
HSVhsv(226, 79%, 83%)
CMYKcmyk(79.1%, 60.2%, 0%, 17.3%)
CIE-LABlab(40.54, 32.17, -69.19)
CIE-LCHlch(40.54, 76.30, 294.94°)
OKLaboklab(49.95% -0.0146 -0.2001)
OKLCHoklch(49.95% 0.201 265.8)
XYZxyz(15.9628, 11.5774, 63.0087)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54D3 #D3AB2C
analogous
#2CA7D3 #2C54D3 #582CD3
triadic
#2C54D3 #D32C54 #54D32C
tetradic
#2C54D3 #D32CA7 #D3AB2C #2CD358
square
#2C54D3 #D32CA7 #D3AB2C #2CD358
split-complementary
#2C54D3 #D3582C #A7D32C
monochromatic
#172C6E #2140A0 #2C54D3 #5F7DDE #91A6E8

Accessibility & contrast

On white

6.33
#2C54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C54D3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54D3#FFFFFF#000000##FFFFFF
##2C54D31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.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: #2c54d3;
/* rgb */ color: rgb(44, 84, 211);
/* oklch */ color: oklch(49.9% 0.201 265.8);
Tailwind
colors: {
  custom: {
    50: '#8083e1',
    500: '#2c54d3',
    950: '#000000',
  },
}
SCSS
$custom: #2c54d3;
$custom-light: #8083e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54d3",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 225.629,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.2006,
    "h": 265.8
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#2C54D3
secondary
#D3C188
accent
#C03FE8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2C54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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