#253C90#253C90

#253C90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.142 H 267.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#253C90
RGBrgb(37, 60, 144)
HSLhsl(227, 59%, 35%)
HSVhsv(227, 74%, 56%)
CMYKcmyk(74.3%, 58.3%, 0%, 43.5%)
CIE-LABlab(28.48, 21.88, -49.08)
CIE-LCHlch(28.48, 53.74, 294.03°)
OKLaboklab(39.17% -0.0057 -0.1415)
OKLCHoklch(39.17% 0.142 267.7)
XYZxyz(7.4111, 5.6379, 27.0778)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C90 #907925
analogous
#257190 #253C90 #432590
triadic
#253C90 #90253C #3C9025
tetradic
#253C90 #902571 #907925 #259043
square
#253C90 #902571 #907925 #259043
split-complementary
#253C90 #904325 #719025
monochromatic
#0C132F #18285F #253C90 #3250C1 #5B75D5

Accessibility & contrast

On white

9.87
#253C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#253C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C90
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C90#FFFFFF#000000##FFFFFF
##253C901.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253c90;
/* rgb */ color: rgb(37, 60, 144);
/* oklch */ color: oklch(39.2% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f71b1',
    500: '#253c90',
    950: '#000000',
  },
}
SCSS
$custom: #253c90;
$custom-light: #6f71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#253c90",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 227.103,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39167,
    "c": 0.14164,
    "h": 267.7
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#253C90
secondary
#B9A457
accent
#C145E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253C90

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

Preview Lab → · Contrast checker → · Palette generator →

#253C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva