#254395#254395

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

Color values

HEX#254395
RGBrgb(37, 67, 149)
HSLhsl(224, 60%, 36%)
HSVhsv(224, 75%, 58%)
CMYKcmyk(75.2%, 55%, 0%, 41.6%)
CIE-LABlab(30.82, 19.05, -48.34)
CIE-LCHlch(30.82, 51.96, 291.50°)
OKLaboklab(41.05% -0.0111 -0.1392)
OKLCHoklch(41.05% 0.14 265.4)
XYZxyz(8.1930, 6.5767, 29.2656)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254395 #957725
analogous
#257B95 #254395 #3F2595
triadic
#254395 #952543 #439525
tetradic
#254395 #95257B #957725 #25953F
square
#254395 #95257B #957725 #25953F
split-complementary
#254395 #953F25 #7B9525
monochromatic
#0D1733 #192D64 #254395 #3159C6 #5E7ED7

Accessibility & contrast

On white

9.07
#254395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254395
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254395#FFFFFF#000000##FFFFFF
##2543951.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014E98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254395;
/* rgb */ color: rgb(37, 67, 149);
/* oklch */ color: oklch(41.1% 0.140 265.4);
Tailwind
colors: {
  custom: {
    50: '#7076b5',
    500: '#254395',
    950: '#000000',
  },
}
SCSS
$custom: #254395;
$custom-light: #7076b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254395",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 149
  },
  "hsl": {
    "h": 223.929,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.13967,
    "h": 265.4
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#254395
secondary
#BCA25A
accent
#B944E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254395

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

Preview Lab → · Contrast checker → · Palette generator →

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