#254193#254193

#254193 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.139 H 266.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#254193
RGBrgb(37, 65, 147)
HSLhsl(225, 60%, 36%)
HSVhsv(225, 75%, 58%)
CMYKcmyk(74.8%, 55.8%, 0%, 42.4%)
CIE-LABlab(30.11, 19.63, -48.28)
CIE-LCHlch(30.11, 52.12, 292.13°)
OKLaboklab(40.47% -0.0096 -0.1391)
OKLCHoklch(40.47% 0.139 266)
XYZxyz(7.9179, 6.2796, 28.3929)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254193 #937725
analogous
#257893 #254193 #402593
triadic
#254193 #932541 #419325
tetradic
#254193 #932578 #937725 #259340
square
#254193 #932578 #937725 #259340
split-complementary
#254193 #934025 #789325
monochromatic
#0C1631 #192B62 #254193 #3157C4 #5C7BD6

Accessibility & contrast

On white

9.31
#254193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#254193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254193
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254193#FFFFFF#000000##FFFFFF
##2541931.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254193;
/* rgb */ color: rgb(37, 65, 147);
/* oklch */ color: oklch(40.5% 0.139 266.0);
Tailwind
colors: {
  custom: {
    50: '#7075b3',
    500: '#254193',
    950: '#000000',
  },
}
SCSS
$custom: #254193;
$custom-light: #7075b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254193",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 224.727,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.13941,
    "h": 266
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#254193
secondary
#BBA259
accent
#BB45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254193

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

Preview Lab → · Contrast checker → · Palette generator →

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