#253C99#253C99

#253C99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.154 H 267.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#253C99
RGBrgb(37, 60, 153)
HSLhsl(228, 61%, 37%)
HSVhsv(228, 76%, 60%)
CMYKcmyk(75.8%, 60.8%, 0%, 40%)
CIE-LABlab(29.22, 25.36, -53.39)
CIE-LCHlch(29.22, 59.10, 295.41°)
OKLaboklab(39.95% -0.0055 -0.1542)
OKLCHoklch(39.95% 0.154 267.9)
XYZxyz(8.1266, 5.9241, 30.8460)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C99 #998225
analogous
#257699 #253C99 #482599
triadic
#253C99 #99253C #3C9925
tetradic
#253C99 #992576 #998225 #259948
square
#253C99 #992576 #998225 #259948
split-complementary
#253C99 #994825 #769925
monochromatic
#0D1536 #192968 #253C99 #314FCA #6078D9

Accessibility & contrast

On white

9.61
#253C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#253C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C99
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C99#FFFFFF#000000##FFFFFF
##253C991.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253c99;
/* rgb */ color: rgb(37, 60, 153);
/* oklch */ color: oklch(40.0% 0.154 267.9);
Tailwind
colors: {
  custom: {
    50: '#7171b8',
    500: '#253c99',
    950: '#000000',
  },
}
SCSS
$custom: #253c99;
$custom-light: #7171b8;
$custom-dark: #000000;
JSON
{
  "hex": "#253c99",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 228.103,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.15427,
    "h": 267.9
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#253C99
secondary
#BEAA5C
accent
#C444E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253C99

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

Preview Lab → · Contrast checker → · Palette generator →

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