#254597#254597

#254597 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.140 H 264.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#254597
RGBrgb(37, 69, 151)
HSLhsl(223, 61%, 37%)
HSVhsv(223, 75%, 59%)
CMYKcmyk(75.5%, 54.3%, 0%, 40.8%)
CIE-LABlab(31.54, 18.47, -48.40)
CIE-LCHlch(31.54, 51.80, 290.88°)
OKLaboklab(41.64% -0.0126 -0.1394)
OKLCHoklch(41.64% 0.14 264.8)
XYZxyz(8.4750, 6.8830, 30.1541)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254597 #977725
analogous
#257E97 #254597 #3E2597
triadic
#254597 #972545 #459725
tetradic
#254597 #97257E #977725 #25973E
square
#254597 #97257E #977725 #25973E
split-complementary
#254597 #973E25 #7E9725
monochromatic
#0D1835 #192F66 #254597 #315BC8 #5F81D8

Accessibility & contrast

On white

8.84
#254597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254597
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254597#FFFFFF#000000##FFFFFF
##2545971.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254597;
/* rgb */ color: rgb(37, 69, 151);
/* oklch */ color: oklch(41.6% 0.140 264.8);
Tailwind
colors: {
  custom: {
    50: '#7078b6',
    500: '#254597',
    950: '#000000',
  },
}
SCSS
$custom: #254597;
$custom-light: #7078b6;
$custom-dark: #000000;
JSON
{
  "hex": "#254597",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 223.158,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.13994,
    "h": 264.8
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254597

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

Preview Lab → · Contrast checker → · Palette generator →

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