#254990#254990

#254990 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.125 H 262.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#254990
RGBrgb(37, 73, 144)
HSLhsl(220, 59%, 35%)
HSVhsv(220, 74%, 56%)
CMYKcmyk(74.3%, 49.3%, 0%, 43.5%)
CIE-LABlab(32.19, 13.00, -43.07)
CIE-LCHlch(32.19, 44.99, 286.80°)
OKLaboklab(41.98% -0.0169 -0.1236)
OKLCHoklch(41.98% 0.125 262.2)
XYZxyz(8.1777, 7.1711, 27.3333)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254990 #906C25
analogous
#257E90 #254990 #362590
triadic
#254990 #902549 #499025
tetradic
#254990 #90257E #906C25 #259036
square
#254990 #90257E #906C25 #259036
split-complementary
#254990 #903625 #7E9025
monochromatic
#0C182F #18305F #254990 #3262C1 #5B84D5

Accessibility & contrast

On white

8.63
#254990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#254990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254990
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254990#FFFFFF#000000##FFFFFF
##2549901.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225193
Deuteranopia (green-blind)
#02478F
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254990;
/* rgb */ color: rgb(37, 73, 144);
/* oklch */ color: oklch(42.0% 0.125 262.2);
Tailwind
colors: {
  custom: {
    50: '#6e7bb1',
    500: '#254990',
    950: '#000000',
  },
}
SCSS
$custom: #254990;
$custom-light: #6e7bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#254990",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 144
  },
  "hsl": {
    "h": 219.813,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.12477,
    "h": 262.2
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#254990
secondary
#B99857
accent
#AE45E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254990

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

Preview Lab → · Contrast checker → · Palette generator →

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