#254492#254492

#254492 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.134 H 264.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#254492
RGBrgb(37, 68, 146)
HSLhsl(223, 60%, 36%)
HSVhsv(223, 75%, 57%)
CMYKcmyk(74.7%, 53.4%, 0%, 42.7%)
CIE-LABlab(30.88, 17.19, -46.41)
CIE-LCHlch(30.88, 49.49, 290.32°)
OKLaboklab(41.03% -0.0122 -0.1335)
OKLCHoklch(41.03% 0.134 264.8)
XYZxyz(8.0165, 6.6020, 28.0404)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254492 #927325
analogous
#257A92 #254492 #3C2592
triadic
#254492 #922544 #449225
tetradic
#254492 #92257A #927325 #25923C
square
#254492 #92257A #927325 #25923C
split-complementary
#254492 #923C25 #7A9225
monochromatic
#0C1730 #192D61 #254492 #315BC3 #5C7ED6

Accessibility & contrast

On white

9.05
#254492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254492
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254492#FFFFFF#000000##FFFFFF
##2544921.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254492;
/* rgb */ color: rgb(37, 68, 146);
/* oklch */ color: oklch(41.0% 0.134 264.8);
Tailwind
colors: {
  custom: {
    50: '#6f77b3',
    500: '#254492',
    950: '#000000',
  },
}
SCSS
$custom: #254492;
$custom-light: #6f77b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254492",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 222.936,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.13409,
    "h": 264.8
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#254492
secondary
#BA9F58
accent
#B645E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254492

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

Preview Lab → · Contrast checker → · Palette generator →

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