#254094#254094

#254094 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.142 H 266.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#254094
RGBrgb(37, 64, 148)
HSLhsl(225, 60%, 36%)
HSVhsv(225, 75%, 58%)
CMYKcmyk(75%, 56.8%, 0%, 42%)
CIE-LABlab(29.91, 20.70, -49.22)
CIE-LCHlch(29.91, 53.40, 292.81°)
OKLaboklab(40.34% -0.0088 -0.1419)
OKLCHoklch(40.34% 0.142 266.5)
XYZxyz(7.9398, 6.1974, 28.7890)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254094 #947925
analogous
#257894 #254094 #422594
triadic
#254094 #942540 #409425
tetradic
#254094 #942578 #947925 #259442
square
#254094 #942578 #947925 #259442
split-complementary
#254094 #944225 #789425
monochromatic
#0D1632 #192B63 #254094 #3155C5 #5D7AD6

Accessibility & contrast

On white

9.38
#254094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#254094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254094
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254094#FFFFFF#000000##FFFFFF
##2540941.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254094;
/* rgb */ color: rgb(37, 64, 148);
/* oklch */ color: oklch(40.3% 0.142 266.5);
Tailwind
colors: {
  custom: {
    50: '#7074b4',
    500: '#254094',
    950: '#000000',
  },
}
SCSS
$custom: #254094;
$custom-light: #7074b4;
$custom-dark: #000000;
JSON
{
  "hex": "#254094",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 225.405,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.14213,
    "h": 266.5
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#254094
secondary
#BBA459
accent
#BD45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254094

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

Preview Lab → · Contrast checker → · Palette generator →

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