#254590#254590

#254590 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.130 H 264.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#254590
RGBrgb(37, 69, 144)
HSLhsl(222, 59%, 35%)
HSVhsv(222, 74%, 56%)
CMYKcmyk(74.3%, 52.1%, 0%, 43.5%)
CIE-LABlab(31.03, 15.72, -44.96)
CIE-LCHlch(31.03, 47.63, 289.28°)
OKLaboklab(41.09% -0.0133 -0.1292)
OKLCHoklch(41.09% 0.13 264.1)
XYZxyz(7.9233, 6.6623, 27.2485)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254590 #907025
analogous
#257A90 #254590 #3A2590
triadic
#254590 #902545 #459025
tetradic
#254590 #90257A #907025 #25903A
square
#254590 #90257A #907025 #25903A
split-complementary
#254590 #903A25 #7A9025
monochromatic
#0C162F #182E5F #254590 #325CC1 #5B7FD5

Accessibility & contrast

On white

9.00
#254590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#254590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254590
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254590#FFFFFF#000000##FFFFFF
##2545901.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254590;
/* rgb */ color: rgb(37, 69, 144);
/* oklch */ color: oklch(41.1% 0.130 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f78b1',
    500: '#254590',
    950: '#000000',
  },
}
SCSS
$custom: #254590;
$custom-light: #6f78b1;
$custom-dark: #000000;
JSON
{
  "hex": "#254590",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 222.056,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.12992,
    "h": 264.1
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#254590
secondary
#B99C57
accent
#B345E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254590

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

Preview Lab → · Contrast checker → · Palette generator →

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