#254993#254993

#254993 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.129 H 262.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#254993
RGBrgb(37, 73, 147)
HSLhsl(220, 60%, 36%)
HSVhsv(220, 75%, 58%)
CMYKcmyk(74.8%, 50.3%, 0%, 42.4%)
CIE-LABlab(32.40, 14.18, -44.57)
CIE-LCHlch(32.40, 46.77, 287.65°)
OKLaboklab(42.21% -0.0165 -0.128)
OKLCHoklch(42.21% 0.129 262.7)
XYZxyz(8.4101, 7.2641, 28.5570)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254993 #936F25
analogous
#258093 #254993 #382593
triadic
#254993 #932549 #499325
tetradic
#254993 #932580 #936F25 #259338
square
#254993 #932580 #936F25 #259338
split-complementary
#254993 #933825 #809325
monochromatic
#0C1831 #193162 #254993 #3161C4 #5C84D6

Accessibility & contrast

On white

8.56
#254993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#254993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254993
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254993#FFFFFF#000000##FFFFFF
##2549931.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5296
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254993;
/* rgb */ color: rgb(37, 73, 147);
/* oklch */ color: oklch(42.2% 0.129 262.7);
Tailwind
colors: {
  custom: {
    50: '#6f7bb3',
    500: '#254993',
    950: '#000000',
  },
}
SCSS
$custom: #254993;
$custom-light: #6f7bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#254993",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 147
  },
  "hsl": {
    "h": 220.364,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.12908,
    "h": 262.7
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#254993
secondary
#BB9B59
accent
#AF45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254993

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

Preview Lab → · Contrast checker → · Palette generator →

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