#254598#254598

#254598 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.141 H 264.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#254598
RGBrgb(37, 69, 152)
HSLhsl(223, 61%, 37%)
HSVhsv(223, 76%, 60%)
CMYKcmyk(75.7%, 54.6%, 0%, 40.4%)
CIE-LABlab(31.61, 18.86, -48.89)
CIE-LCHlch(31.61, 52.40, 291.09°)
OKLaboklab(41.72% -0.0125 -0.1408)
OKLCHoklch(41.72% 0.141 264.9)
XYZxyz(8.5566, 6.9156, 30.5836)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254598 #987825
analogous
#257F98 #254598 #3E2598
triadic
#254598 #982545 #459825
tetradic
#254598 #98257F #987825 #25983E
square
#254598 #98257F #987825 #25983E
split-complementary
#254598 #983E25 #7F9825
monochromatic
#0D1836 #192F67 #254598 #315BC9 #5F81D8

Accessibility & contrast

On white

8.81
#254598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#254598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254598
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254598#FFFFFF#000000##FFFFFF
##2545981.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04509B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254598;
/* rgb */ color: rgb(37, 69, 152);
/* oklch */ color: oklch(41.7% 0.141 264.9);
Tailwind
colors: {
  custom: {
    50: '#7178b7',
    500: '#254598',
    950: '#000000',
  },
}
SCSS
$custom: #254598;
$custom-light: #7178b7;
$custom-dark: #000000;
JSON
{
  "hex": "#254598",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 223.304,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.14135,
    "h": 264.9
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#254598
secondary
#BDA25C
accent
#B744E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254598

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

Preview Lab → · Contrast checker → · Palette generator →

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