#254AAE#254AAE

#254AAE is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.166 H 264.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#254AAE
RGBrgb(37, 74, 174)
HSLhsl(224, 65%, 41%)
HSVhsv(224, 79%, 68%)
CMYKcmyk(78.7%, 57.5%, 0%, 31.8%)
CIE-LABlab(34.69, 24.04, -57.11)
CIE-LCHlch(34.69, 61.96, 292.83°)
OKLaboklab(44.58% -0.0147 -0.1649)
OKLCHoklch(44.58% 0.166 264.9)
XYZxyz(10.8490, 8.3456, 41.0753)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254AAE #AE8925
analogous
#258FAE #254AAE #4525AE
triadic
#254AAE #AE254A #4AAE25
tetradic
#254AAE #AE258F #AE8925 #25AE45
square
#254AAE #AE258F #AE8925 #25AE45
split-complementary
#254AAE #AE4525 #8FAE25
monochromatic
#101F49 #1A357C #254AAE #3B65D5 #6D8CE0

Accessibility & contrast

On white

7.87
#254AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#254AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254AAE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254AAE#FFFFFF#000000##FFFFFF
##254AAE1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #254aae;
/* rgb */ color: rgb(37, 74, 174);
/* oklch */ color: oklch(44.6% 0.166 264.9);
Tailwind
colors: {
  custom: {
    50: '#767cc7',
    500: '#254aae',
    950: '#000000',
  },
}
SCSS
$custom: #254aae;
$custom-light: #767cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#254aae",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 223.796,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44579,
    "c": 0.16554,
    "h": 264.9
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#254AAE
secondary
#C6AD68
accent
#BB40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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