#254596#254596

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

Color values

HEX#254596
RGBrgb(37, 69, 150)
HSLhsl(223, 60%, 37%)
HSVhsv(223, 75%, 59%)
CMYKcmyk(75.3%, 54%, 0%, 41.2%)
CIE-LABlab(31.46, 18.07, -47.91)
CIE-LCHlch(31.46, 51.21, 290.67°)
OKLaboklab(41.56% -0.0127 -0.1379)
OKLCHoklch(41.56% 0.139 264.7)
XYZxyz(8.3941, 6.8507, 29.7282)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254596 #967625
analogous
#257E96 #254596 #3E2596
triadic
#254596 #962545 #459625
tetradic
#254596 #96257E #967625 #25963E
square
#254596 #96257E #967625 #25963E
split-complementary
#254596 #963E25 #7E9625
monochromatic
#0D1834 #192E65 #254596 #315CC7 #5E80D7

Accessibility & contrast

On white

8.86
#254596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254596
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254596#FFFFFF#000000##FFFFFF
##2545961.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254596;
/* rgb */ color: rgb(37, 69, 150);
/* oklch */ color: oklch(41.6% 0.139 264.7);
Tailwind
colors: {
  custom: {
    50: '#7078b5',
    500: '#254596',
    950: '#000000',
  },
}
SCSS
$custom: #254596;
$custom-light: #7078b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254596",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 223.009,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.13851,
    "h": 264.7
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#254596
secondary
#BCA15B
accent
#B644E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254596

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

Preview Lab → · Contrast checker → · Palette generator →

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