#254793#254793

#254793 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.132 H 263.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#254793
RGBrgb(37, 71, 147)
HSLhsl(221, 60%, 36%)
HSVhsv(221, 75%, 58%)
CMYKcmyk(74.8%, 51.7%, 0%, 42.4%)
CIE-LABlab(31.82, 15.54, -45.51)
CIE-LCHlch(31.82, 48.09, 288.85°)
OKLaboklab(41.76% -0.0147 -0.1308)
OKLCHoklch(41.76% 0.132 263.6)
XYZxyz(8.2808, 7.0055, 28.5139)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254793 #937125
analogous
#257E93 #254793 #3A2593
triadic
#254793 #932547 #479325
tetradic
#254793 #93257E #937125 #25933A
square
#254793 #93257E #937125 #25933A
split-complementary
#254793 #933A25 #7E9325
monochromatic
#0C1831 #192F62 #254793 #315FC4 #5C82D6

Accessibility & contrast

On white

8.75
#254793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#254793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254793
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254793#FFFFFF#000000##FFFFFF
##2547931.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185096
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254793;
/* rgb */ color: rgb(37, 71, 147);
/* oklch */ color: oklch(41.8% 0.132 263.6);
Tailwind
colors: {
  custom: {
    50: '#6f79b3',
    500: '#254793',
    950: '#000000',
  },
}
SCSS
$custom: #254793;
$custom-light: #6f79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254793",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 221.455,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.13164,
    "h": 263.6
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#254793
secondary
#BB9D59
accent
#B245E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254793

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

Preview Lab → · Contrast checker → · Palette generator →

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