#254BCA#254BCA

#254BCA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.2% C 0.201 H 265.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#254BCA
RGBrgb(37, 75, 202)
HSLhsl(226, 69%, 47%)
HSVhsv(226, 82%, 79%)
CMYKcmyk(81.7%, 62.9%, 0%, 20.8%)
CIE-LABlab(37.28, 34.01, -69.33)
CIE-LCHlch(37.28, 77.23, 296.13°)
OKLaboklab(47.23% -0.0147 -0.2007)
OKLCHoklch(47.23% 0.201 265.8)
XYZxyz(13.9359, 9.6881, 57.0012)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BCA #CAA425
analogous
#259ECA #254BCA #5225CA
triadic
#254BCA #CA254B #4BCA25
tetradic
#254BCA #CA259E #CAA425 #25CA52
square
#254BCA #CA259E #CAA425 #25CA52
split-complementary
#254BCA #CA5225 #9ECA25
monochromatic
#122563 #1C3896 #254BCA #4E6FDF #8199E8

Accessibility & contrast

On white

7.15
#254BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#254BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BCA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BCA#FFFFFF#000000##FFFFFF
##254BCA1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254bca;
/* rgb */ color: rgb(37, 75, 202);
/* oklch */ color: oklch(47.2% 0.201 265.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ddb',
    500: '#254bca',
    950: '#000000',
  },
}
SCSS
$custom: #254bca;
$custom-light: #7d7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#254bca",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 226.182,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47227,
    "c": 0.20126,
    "h": 265.8
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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