#254390#254390

#254390 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.133 H 265.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#254390
RGBrgb(37, 67, 144)
HSLhsl(223, 59%, 35%)
HSVhsv(223, 74%, 56%)
CMYKcmyk(74.3%, 53.5%, 0%, 43.5%)
CIE-LABlab(30.45, 17.09, -45.89)
CIE-LCHlch(30.45, 48.97, 290.43°)
OKLaboklab(40.65% -0.0116 -0.132)
OKLCHoklch(40.65% 0.133 265)
XYZxyz(7.8024, 6.4204, 27.2082)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254390 #907225
analogous
#257890 #254390 #3D2590
triadic
#254390 #902543 #439025
tetradic
#254390 #902578 #907225 #25903D
square
#254390 #902578 #907225 #25903D
split-complementary
#254390 #903D25 #789025
monochromatic
#0C162F #182C5F #254390 #325AC1 #5B7DD5

Accessibility & contrast

On white

9.19
#254390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#254390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254390
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254390#FFFFFF#000000##FFFFFF
##2543901.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4D93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254390;
/* rgb */ color: rgb(37, 67, 144);
/* oklch */ color: oklch(40.7% 0.133 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f76b1',
    500: '#254390',
    950: '#000000',
  },
}
SCSS
$custom: #254390;
$custom-light: #6f76b1;
$custom-dark: #000000;
JSON
{
  "hex": "#254390",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 144
  },
  "hsl": {
    "h": 223.178,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40652,
    "c": 0.13252,
    "h": 265
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#254390
secondary
#B99E57
accent
#B645E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254390

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

Preview Lab → · Contrast checker → · Palette generator →

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