#254892#254892

#254892 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.129 H 263.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#254892
RGBrgb(37, 72, 146)
HSLhsl(221, 60%, 36%)
HSVhsv(221, 75%, 57%)
CMYKcmyk(74.7%, 50.7%, 0%, 42.7%)
CIE-LABlab(32.04, 14.47, -44.54)
CIE-LCHlch(32.04, 46.83, 287.99°)
OKLaboklab(41.91% -0.0157 -0.128)
OKLCHoklch(41.91% 0.129 263)
XYZxyz(8.2668, 7.1025, 28.1238)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254892 #926F25
analogous
#257E92 #254892 #382592
triadic
#254892 #922548 #489225
tetradic
#254892 #92257E #926F25 #259238
square
#254892 #92257E #926F25 #259238
split-complementary
#254892 #923825 #7E9225
monochromatic
#0C1830 #193061 #254892 #3160C3 #5C83D6

Accessibility & contrast

On white

8.68
#254892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#254892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254892
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254892#FFFFFF#000000##FFFFFF
##2548921.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5195
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254892;
/* rgb */ color: rgb(37, 72, 146);
/* oklch */ color: oklch(41.9% 0.129 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f7ab2',
    500: '#254892',
    950: '#000000',
  },
}
SCSS
$custom: #254892;
$custom-light: #6f7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#254892",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 220.734,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.12893,
    "h": 263
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#254892
secondary
#BA9B58
accent
#B045E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254892

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

Preview Lab → · Contrast checker → · Palette generator →

#254892 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva