#254FAA#254FAA

#254FAA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.154 H 263.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#254FAA
RGBrgb(37, 79, 170)
HSLhsl(221, 64%, 41%)
HSVhsv(221, 78%, 67%)
CMYKcmyk(78.2%, 53.5%, 0%, 33.3%)
CIE-LABlab(35.76, 19.14, -52.99)
CIE-LCHlch(35.76, 56.34, 289.86°)
OKLaboklab(45.29% -0.0186 -0.1527)
OKLCHoklch(45.29% 0.154 263.1)
XYZxyz(10.8120, 8.8863, 39.1678)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254FAA #AA8025
analogous
#2591AA #254FAA #3E25AA
triadic
#254FAA #AA254F #4FAA25
tetradic
#254FAA #AA2591 #AA8025 #25AA3E
square
#254FAA #AA2591 #AA8025 #25AA3E
split-complementary
#254FAA #AA3E25 #91AA25
monochromatic
#0F2045 #1A3878 #254FAA #3869D4 #6B8FDF

Accessibility & contrast

On white

7.56
#254FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#254FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254FAA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254FAA#FFFFFF#000000##FFFFFF
##254FAA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095BAD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #254faa;
/* rgb */ color: rgb(37, 79, 170);
/* oklch */ color: oklch(45.3% 0.154 263.1);
Tailwind
colors: {
  custom: {
    50: '#747fc4',
    500: '#254faa',
    950: '#000000',
  },
}
SCSS
$custom: #254faa;
$custom-light: #747fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#254faa",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 221.053,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.15382,
    "h": 263.1
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#254FAA
secondary
#C5A766
accent
#B341E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #254FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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