#254ACA#254ACA

#254ACA is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.0% C 0.202 H 266.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#254ACA
RGBrgb(37, 74, 202)
HSLhsl(227, 69%, 47%)
HSVhsv(227, 82%, 79%)
CMYKcmyk(81.7%, 63.4%, 0%, 20.8%)
CIE-LABlab(37.03, 34.66, -69.74)
CIE-LCHlch(37.03, 77.88, 296.43°)
OKLaboklab(47.04% -0.0142 -0.2019)
OKLCHoklch(47.04% 0.202 266)
XYZxyz(13.8686, 9.5535, 56.9787)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254ACA #CAA525
analogous
#259DCA #254ACA #5225CA
triadic
#254ACA #CA254A #4ACA25
tetradic
#254ACA #CA259D #CAA525 #25CA52
square
#254ACA #CA259D #CAA525 #25CA52
split-complementary
#254ACA #CA5225 #9DCA25
monochromatic
#122463 #1C3796 #254ACA #4E6EDF #8198E8

Accessibility & contrast

On white

7.21
#254ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#254ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254ACA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254ACA#FFFFFF#000000##FFFFFF
##254ACA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #254aca;
/* rgb */ color: rgb(37, 74, 202);
/* oklch */ color: oklch(47.0% 0.202 266.0);
Tailwind
colors: {
  custom: {
    50: '#7d7cdb',
    500: '#254aca',
    950: '#000000',
  },
}
SCSS
$custom: #254aca;
$custom-light: #7d7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#254aca",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 226.545,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.20242,
    "h": 266
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#254ACA
secondary
#D1BD7A
accent
#C43CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #254ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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