#254893#254893

#254893 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.130 H 263.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#254893
RGBrgb(37, 72, 147)
HSLhsl(221, 60%, 36%)
HSVhsv(221, 75%, 58%)
CMYKcmyk(74.8%, 51%, 0%, 42.4%)
CIE-LABlab(32.11, 14.86, -45.04)
CIE-LCHlch(32.11, 47.43, 288.26°)
OKLaboklab(41.98% -0.0156 -0.1294)
OKLCHoklch(41.98% 0.13 263.1)
XYZxyz(8.3449, 7.1337, 28.5353)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254893 #937025
analogous
#257F93 #254893 #392593
triadic
#254893 #932548 #489325
tetradic
#254893 #93257F #937025 #259339
square
#254893 #93257F #937025 #259339
split-complementary
#254893 #933925 #7F9325
monochromatic
#0C1831 #193062 #254893 #3160C4 #5C83D6

Accessibility & contrast

On white

8.65
#254893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#254893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254893
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254893#FFFFFF#000000##FFFFFF
##2548931.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254893;
/* rgb */ color: rgb(37, 72, 147);
/* oklch */ color: oklch(42.0% 0.130 263.1);
Tailwind
colors: {
  custom: {
    50: '#6f7ab3',
    500: '#254893',
    950: '#000000',
  },
}
SCSS
$custom: #254893;
$custom-light: #6f7ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#254893",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 220.909,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.13036,
    "h": 263.1
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#254893
secondary
#BB9C59
accent
#B145E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254893

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

Preview Lab → · Contrast checker → · Palette generator →

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