#254593#254593

#254593 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.134 H 264.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#254593
RGBrgb(37, 69, 147)
HSLhsl(223, 60%, 36%)
HSVhsv(223, 75%, 58%)
CMYKcmyk(74.8%, 53.1%, 0%, 42.4%)
CIE-LABlab(31.24, 16.90, -46.44)
CIE-LCHlch(31.24, 49.42, 290.00°)
OKLaboklab(41.32% -0.013 -0.1336)
OKLCHoklch(41.32% 0.134 264.5)
XYZxyz(8.1557, 6.7553, 28.4722)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254593 #937325
analogous
#257C93 #254593 #3C2593
triadic
#254593 #932545 #459325
tetradic
#254593 #93257C #937325 #25933C
square
#254593 #93257C #937325 #25933C
split-complementary
#254593 #933C25 #7C9325
monochromatic
#0C1731 #192E62 #254593 #315CC4 #5C80D6

Accessibility & contrast

On white

8.93
#254593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#254593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254593
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254593#FFFFFF#000000##FFFFFF
##2545931.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114F96
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254593;
/* rgb */ color: rgb(37, 69, 147);
/* oklch */ color: oklch(41.3% 0.134 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f78b3',
    500: '#254593',
    950: '#000000',
  },
}
SCSS
$custom: #254593;
$custom-light: #6f78b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254593",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 147
  },
  "hsl": {
    "h": 222.545,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.13423,
    "h": 264.5
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#254593
secondary
#BB9E59
accent
#B545E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254593

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

Preview Lab → · Contrast checker → · Palette generator →

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