#254290#254290

#254290 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.134 H 265.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#254290
RGBrgb(37, 66, 144)
HSLhsl(224, 59%, 35%)
HSVhsv(224, 74%, 56%)
CMYKcmyk(74.3%, 54.2%, 0%, 43.5%)
CIE-LABlab(30.16, 17.78, -46.35)
CIE-LCHlch(30.16, 49.64, 290.98°)
OKLaboklab(40.44% -0.0107 -0.1334)
OKLCHoklch(40.44% 0.134 265.4)
XYZxyz(7.7434, 6.3025, 27.1886)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254290 #907325
analogous
#257790 #254290 #3D2590
triadic
#254290 #902542 #429025
tetradic
#254290 #902577 #907325 #25903D
square
#254290 #902577 #907325 #25903D
split-complementary
#254290 #903D25 #779025
monochromatic
#0C152F #182C5F #254290 #3258C1 #5B7CD5

Accessibility & contrast

On white

9.29
#254290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#254290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254290
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254290#FFFFFF#000000##FFFFFF
##2542901.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254290;
/* rgb */ color: rgb(37, 66, 144);
/* oklch */ color: oklch(40.4% 0.134 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f75b1',
    500: '#254290',
    950: '#000000',
  },
}
SCSS
$custom: #254290;
$custom-light: #6f75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#254290",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 223.738,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.13382,
    "h": 265.4
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#254290
secondary
#B99F57
accent
#B845E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254290

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

Preview Lab → · Contrast checker → · Palette generator →

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