#254692#254692

#254692 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.132 H 263.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#254692
RGBrgb(37, 70, 146)
HSLhsl(222, 60%, 36%)
HSVhsv(222, 75%, 57%)
CMYKcmyk(74.7%, 52.1%, 0%, 42.7%)
CIE-LABlab(31.46, 15.83, -45.48)
CIE-LCHlch(31.46, 48.16, 289.19°)
OKLaboklab(41.47% -0.014 -0.1308)
OKLCHoklch(41.47% 0.132 263.9)
XYZxyz(8.1396, 6.8481, 28.0814)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254692 #927125
analogous
#257C92 #254692 #3A2592
triadic
#254692 #922546 #469225
tetradic
#254692 #92257C #927125 #25923A
square
#254692 #92257C #927125 #25923A
split-complementary
#254692 #923A25 #7C9225
monochromatic
#0C1730 #192F61 #254692 #315DC3 #5C81D6

Accessibility & contrast

On white

8.86
#254692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254692
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254692#FFFFFF#000000##FFFFFF
##2546921.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254692;
/* rgb */ color: rgb(37, 70, 146);
/* oklch */ color: oklch(41.5% 0.132 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f78b2',
    500: '#254692',
    950: '#000000',
  },
}
SCSS
$custom: #254692;
$custom-light: #6f78b2;
$custom-dark: #000000;
JSON
{
  "hex": "#254692",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 146
  },
  "hsl": {
    "h": 221.835,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.1315,
    "h": 263.9
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#254692
secondary
#BA9D58
accent
#B345E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254692

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

Preview Lab → · Contrast checker → · Palette generator →

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