#254992#254992

#254992 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.128 H 262.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#254992
RGBrgb(37, 73, 146)
HSLhsl(220, 60%, 36%)
HSVhsv(220, 75%, 57%)
CMYKcmyk(74.7%, 50%, 0%, 42.7%)
CIE-LABlab(32.33, 13.79, -44.07)
CIE-LCHlch(32.33, 46.18, 287.37°)
OKLaboklab(42.13% -0.0166 -0.1266)
OKLCHoklch(42.13% 0.128 262.5)
XYZxyz(8.3319, 7.2328, 28.1455)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254992 #926E25
analogous
#257F92 #254992 #372592
triadic
#254992 #922549 #499225
tetradic
#254992 #92257F #926E25 #259237
square
#254992 #92257F #926E25 #259237
split-complementary
#254992 #923725 #7F9225
monochromatic
#0C1830 #193161 #254992 #3161C3 #5C84D6

Accessibility & contrast

On white

8.58
#254992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#254992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254992
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254992#FFFFFF#000000##FFFFFF
##2549921.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5195
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254992;
/* rgb */ color: rgb(37, 73, 146);
/* oklch */ color: oklch(42.1% 0.128 262.5);
Tailwind
colors: {
  custom: {
    50: '#6f7bb2',
    500: '#254992',
    950: '#000000',
  },
}
SCSS
$custom: #254992;
$custom-light: #6f7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#254992",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 146
  },
  "hsl": {
    "h": 220.183,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42131,
    "c": 0.12764,
    "h": 262.5
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#254992
secondary
#BA9A58
accent
#AF45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254992

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

Preview Lab → · Contrast checker → · Palette generator →

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