#253394#253394

#253394 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.159 H 270.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#253394
RGBrgb(37, 51, 148)
HSLhsl(232, 60%, 36%)
HSVhsv(232, 75%, 58%)
CMYKcmyk(75%, 65.5%, 0%, 42%)
CIE-LABlab(26.44, 29.50, -54.87)
CIE-LCHlch(26.44, 62.29, 298.26°)
OKLaboklab(37.76% 0.0009 -0.1586)
OKLCHoklch(37.76% 0.159 270.3)
XYZxyz(7.2902, 4.8983, 28.5725)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253394 #948625
analogous
#256B94 #253394 #4F2594
triadic
#253394 #942533 #339425
tetradic
#253394 #94256B #948625 #25944F
square
#253394 #94256B #948625 #25944F
split-complementary
#253394 #944F25 #6B9425
monochromatic
#0D1132 #192263 #253394 #3144C5 #5D6CD6

Accessibility & contrast

On white

10.61
#253394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#253394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253394
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253394#FFFFFF#000000##FFFFFF
##2533941.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253394;
/* rgb */ color: rgb(37, 51, 148);
/* oklch */ color: oklch(37.8% 0.159 270.3);
Tailwind
colors: {
  custom: {
    50: '#716ab4',
    500: '#253394',
    950: '#000000',
  },
}
SCSS
$custom: #253394;
$custom-light: #716ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#253394",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 232.432,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.1586,
    "h": 270.3
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#253394
secondary
#BBAF59
accent
#CF45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253394

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

Preview Lab → · Contrast checker → · Palette generator →

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