#254595#254595

#254595 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.137 H 264.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#254595
RGBrgb(37, 69, 149)
HSLhsl(223, 60%, 36%)
HSVhsv(223, 75%, 58%)
CMYKcmyk(75.2%, 53.7%, 0%, 41.6%)
CIE-LABlab(31.39, 17.68, -47.42)
CIE-LCHlch(31.39, 50.61, 290.45°)
OKLaboklab(41.48% -0.0128 -0.1365)
OKLCHoklch(41.48% 0.137 264.7)
XYZxyz(8.3140, 6.8186, 29.3059)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254595 #957525
analogous
#257D95 #254595 #3D2595
triadic
#254595 #952545 #459525
tetradic
#254595 #95257D #957525 #25953D
square
#254595 #95257D #957525 #25953D
split-complementary
#254595 #953D25 #7D9525
monochromatic
#0D1833 #192E64 #254595 #315CC6 #5E80D7

Accessibility & contrast

On white

8.88
#254595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#254595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254595
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254595#FFFFFF#000000##FFFFFF
##2545951.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254595;
/* rgb */ color: rgb(37, 69, 149);
/* oklch */ color: oklch(41.5% 0.137 264.7);
Tailwind
colors: {
  custom: {
    50: '#7078b5',
    500: '#254595',
    950: '#000000',
  },
}
SCSS
$custom: #254595;
$custom-light: #7078b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254595",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 222.857,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.13709,
    "h": 264.7
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#254595
secondary
#BCA05A
accent
#B644E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254595

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

Preview Lab → · Contrast checker → · Palette generator →

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