#254693#254693

#254693 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.133 H 264.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#254693
RGBrgb(37, 70, 147)
HSLhsl(222, 60%, 36%)
HSVhsv(222, 75%, 58%)
CMYKcmyk(74.8%, 52.4%, 0%, 42.4%)
CIE-LABlab(31.53, 16.22, -45.98)
CIE-LCHlch(31.53, 48.75, 289.43°)
OKLaboklab(41.54% -0.0138 -0.1322)
OKLCHoklch(41.54% 0.133 264)
XYZxyz(8.2177, 6.8793, 28.4929)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254693 #937225
analogous
#257D93 #254693 #3B2593
triadic
#254693 #932546 #469325
tetradic
#254693 #93257D #937225 #25933B
square
#254693 #93257D #937225 #25933B
split-complementary
#254693 #933B25 #7D9325
monochromatic
#0C1731 #192F62 #254693 #315DC4 #5C81D6

Accessibility & contrast

On white

8.84
#254693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#254693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254693
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254693#FFFFFF#000000##FFFFFF
##2546931.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155096
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254693;
/* rgb */ color: rgb(37, 70, 147);
/* oklch */ color: oklch(41.5% 0.133 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f78b3',
    500: '#254693',
    950: '#000000',
  },
}
SCSS
$custom: #254693;
$custom-light: #6f78b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254693",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 147
  },
  "hsl": {
    "h": 222,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41543,
    "c": 0.13293,
    "h": 264
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#254693
secondary
#BB9E59
accent
#B445E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254693

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

Preview Lab → · Contrast checker → · Palette generator →

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