#253293#253293

#253293 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.158 H 270.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#253293
RGBrgb(37, 50, 147)
HSLhsl(233, 60%, 36%)
HSVhsv(233, 75%, 58%)
CMYKcmyk(74.8%, 66%, 0%, 42.4%)
CIE-LABlab(26.10, 29.78, -54.81)
CIE-LCHlch(26.10, 62.38, 298.52°)
OKLaboklab(37.48% 0.0016 -0.1584)
OKLCHoklch(37.48% 0.158 270.6)
XYZxyz(7.1682, 4.7804, 28.1430)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253293 #938625
analogous
#256993 #253293 #4F2593
triadic
#253293 #932532 #329325
tetradic
#253293 #932569 #938625 #25934F
square
#253293 #932569 #938625 #25934F
split-complementary
#253293 #934F25 #699325
monochromatic
#0C1131 #192162 #253293 #3143C4 #5C6BD6

Accessibility & contrast

On white

10.74
#253293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#253293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253293
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253293#FFFFFF#000000##FFFFFF
##2532931.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253293;
/* rgb */ color: rgb(37, 50, 147);
/* oklch */ color: oklch(37.5% 0.158 270.6);
Tailwind
colors: {
  custom: {
    50: '#716ab4',
    500: '#253293',
    950: '#000000',
  },
}
SCSS
$custom: #253293;
$custom-light: #716ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#253293",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 232.909,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.15846,
    "h": 270.6
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253293

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

Preview Lab → · Contrast checker → · Palette generator →

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