#254090#254090

#254090 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.136 H 266.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#254090
RGBrgb(37, 64, 144)
HSLhsl(225, 59%, 35%)
HSVhsv(225, 74%, 56%)
CMYKcmyk(74.3%, 55.6%, 0%, 43.5%)
CIE-LABlab(29.60, 19.14, -47.27)
CIE-LCHlch(29.60, 51.00, 292.05°)
OKLaboklab(40.01% -0.009 -0.1361)
OKLCHoklch(40.01% 0.136 266.2)
XYZxyz(7.6286, 6.0729, 27.1503)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254090 #907525
analogous
#257590 #254090 #3F2590
triadic
#254090 #902540 #409025
tetradic
#254090 #902575 #907525 #25903F
square
#254090 #902575 #907525 #25903F
split-complementary
#254090 #903F25 #759025
monochromatic
#0C152F #182A5F #254090 #3256C1 #5B79D5

Accessibility & contrast

On white

9.48
#254090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#254090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254090
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254090#FFFFFF#000000##FFFFFF
##2540901.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254090;
/* rgb */ color: rgb(37, 64, 144);
/* oklch */ color: oklch(40.0% 0.136 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f74b1',
    500: '#254090',
    950: '#000000',
  },
}
SCSS
$custom: #254090;
$custom-light: #6f74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#254090",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 224.86,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.13643,
    "h": 266.2
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#254090
secondary
#B9A157
accent
#BB45E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254090

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

Preview Lab → · Contrast checker → · Palette generator →

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