#254490#254490

#254490 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.131 H 264.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#254490
RGBrgb(37, 68, 144)
HSLhsl(223, 59%, 35%)
HSVhsv(223, 74%, 56%)
CMYKcmyk(74.3%, 52.8%, 0%, 43.5%)
CIE-LABlab(30.74, 16.41, -45.42)
CIE-LCHlch(30.74, 48.30, 289.86°)
OKLaboklab(40.87% -0.0124 -0.1306)
OKLCHoklch(40.87% 0.131 264.6)
XYZxyz(7.8623, 6.5403, 27.2282)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254490 #907125
analogous
#257990 #254490 #3B2590
triadic
#254490 #902544 #449025
tetradic
#254490 #902579 #907125 #25903B
square
#254490 #902579 #907125 #25903B
split-complementary
#254490 #903B25 #799025
monochromatic
#0C162F #182D5F #254490 #325BC1 #5B7ED5

Accessibility & contrast

On white

9.10
#254490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#254490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254490
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254490#FFFFFF#000000##FFFFFF
##2544901.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254490;
/* rgb */ color: rgb(37, 68, 144);
/* oklch */ color: oklch(40.9% 0.131 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f77b1',
    500: '#254490',
    950: '#000000',
  },
}
SCSS
$custom: #254490;
$custom-light: #6f77b1;
$custom-dark: #000000;
JSON
{
  "hex": "#254490",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 222.617,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.13121,
    "h": 264.6
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#254490
secondary
#B99D57
accent
#B545E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254490

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

Preview Lab → · Contrast checker → · Palette generator →

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