#254CCA#254CCA

#254CCA is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.4% C 0.200 H 265.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#254CCA
RGBrgb(37, 76, 202)
HSLhsl(226, 69%, 47%)
HSVhsv(226, 82%, 79%)
CMYKcmyk(81.7%, 62.4%, 0%, 20.8%)
CIE-LABlab(37.53, 33.37, -68.92)
CIE-LCHlch(37.53, 76.58, 295.83°)
OKLaboklab(47.41% -0.0152 -0.1995)
OKLCHoklch(47.41% 0.2 265.6)
XYZxyz(14.0043, 9.8248, 57.0239)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CCA #CAA325
analogous
#259FCA #254CCA #5025CA
triadic
#254CCA #CA254C #4CCA25
tetradic
#254CCA #CA259F #CAA325 #25CA50
square
#254CCA #CA259F #CAA325 #25CA50
split-complementary
#254CCA #CA5025 #9FCA25
monochromatic
#122563 #1C3996 #254CCA #4E70DF #819AE8

Accessibility & contrast

On white

7.08
#254CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#254CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CCA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CCA#FFFFFF#000000##FFFFFF
##254CCA1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #254cca;
/* rgb */ color: rgb(37, 76, 202);
/* oklch */ color: oklch(47.4% 0.200 265.6);
Tailwind
colors: {
  custom: {
    50: '#7c7ddb',
    500: '#254cca',
    950: '#000000',
  },
}
SCSS
$custom: #254cca;
$custom-light: #7c7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#254cca",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 225.818,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.20009,
    "h": 265.6
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#254CCA
secondary
#D1BC7A
accent
#C23CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #254CCA

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

Preview Lab → · Contrast checker → · Palette generator →

#254CCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva