#253993#253993

#253993 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.150 H 268.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#253993
RGBrgb(37, 57, 147)
HSLhsl(229, 60%, 36%)
HSVhsv(229, 75%, 58%)
CMYKcmyk(74.8%, 61.2%, 0%, 42.4%)
CIE-LABlab(27.91, 25.09, -51.85)
CIE-LCHlch(27.91, 57.60, 295.82°)
OKLaboklab(38.82% -0.0034 -0.1497)
OKLCHoklch(38.82% 0.15 268.7)
XYZxyz(7.4907, 5.4254, 28.2505)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253993 #937F25
analogous
#257093 #253993 #482593
triadic
#253993 #932539 #399325
tetradic
#253993 #932570 #937F25 #259348
square
#253993 #932570 #937F25 #259348
split-complementary
#253993 #934825 #709325
monochromatic
#0C1331 #192662 #253993 #314CC4 #5C72D6

Accessibility & contrast

On white

10.07
#253993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253993
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253993#FFFFFF#000000##FFFFFF
##2539931.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253993;
/* rgb */ color: rgb(37, 57, 147);
/* oklch */ color: oklch(38.8% 0.150 268.7);
Tailwind
colors: {
  custom: {
    50: '#706fb3',
    500: '#253993',
    950: '#000000',
  },
}
SCSS
$custom: #253993;
$custom-light: #706fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#253993",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 229.091,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38822,
    "c": 0.14973,
    "h": 268.7
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#253993
secondary
#BBA959
accent
#C645E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253993

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

Preview Lab → · Contrast checker → · Palette generator →

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