#254396#254396

#254396 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.141 H 265.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#254396
RGBrgb(37, 67, 150)
HSLhsl(224, 60%, 37%)
HSVhsv(224, 75%, 59%)
CMYKcmyk(75.3%, 55.3%, 0%, 41.2%)
CIE-LABlab(30.90, 19.44, -48.83)
CIE-LCHlch(30.90, 52.56, 291.71°)
OKLaboklab(41.14% -0.011 -0.1407)
OKLCHoklch(41.14% 0.141 265.5)
XYZxyz(8.2732, 6.6087, 29.6878)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254396 #967825
analogous
#257C96 #254396 #402596
triadic
#254396 #962543 #439625
tetradic
#254396 #96257C #967825 #259640
square
#254396 #96257C #967825 #259640
split-complementary
#254396 #964025 #7C9625
monochromatic
#0D1734 #192D65 #254396 #3159C7 #5E7ED7

Accessibility & contrast

On white

9.04
#254396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#254396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254396
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254396#FFFFFF#000000##FFFFFF
##2543961.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254396;
/* rgb */ color: rgb(37, 67, 150);
/* oklch */ color: oklch(41.1% 0.141 265.5);
Tailwind
colors: {
  custom: {
    50: '#7076b5',
    500: '#254396',
    950: '#000000',
  },
}
SCSS
$custom: #254396;
$custom-light: #7076b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254396",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 224.071,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.14109,
    "h": 265.5
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#254396
secondary
#BCA25B
accent
#B944E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254396

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

Preview Lab → · Contrast checker → · Palette generator →

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