#254FCA#254FCA

#254FCA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.197 H 265.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#254FCA
RGBrgb(37, 79, 202)
HSLhsl(225, 69%, 47%)
HSVhsv(225, 82%, 79%)
CMYKcmyk(81.7%, 60.9%, 0%, 20.8%)
CIE-LABlab(38.28, 31.43, -67.69)
CIE-LCHlch(38.28, 74.63, 294.91°)
OKLaboklab(47.97% -0.0169 -0.1958)
OKLCHoklch(47.97% 0.197 265.1)
XYZxyz(14.2158, 10.2478, 57.0945)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254FCA #CAA025
analogous
#25A2CA #254FCA #4D25CA
triadic
#254FCA #CA254F #4FCA25
tetradic
#254FCA #CA25A2 #CAA025 #25CA4D
square
#254FCA #CA25A2 #CAA025 #25CA4D
split-complementary
#254FCA #CA4D25 #A2CA25
monochromatic
#122763 #1C3B96 #254FCA #4E73DF #819CE8

Accessibility & contrast

On white

6.89
#254FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#254FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #254FCA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254FCA#FFFFFF#000000##FFFFFF
##254FCA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #254fca;
/* rgb */ color: rgb(37, 79, 202);
/* oklch */ color: oklch(48.0% 0.197 265.1);
Tailwind
colors: {
  custom: {
    50: '#7c7fdb',
    500: '#254fca',
    950: '#000000',
  },
}
SCSS
$custom: #254fca;
$custom-light: #7c7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#254fca",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 224.727,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.19657,
    "h": 265.1
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#254FCA
secondary
#D1BB7A
accent
#BF3CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #254FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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