#253C9A#253C9A

#253C9A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.156 H 268.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#253C9A
RGBrgb(37, 60, 154)
HSLhsl(228, 61%, 37%)
HSVhsv(228, 76%, 60%)
CMYKcmyk(76%, 61%, 0%, 39.6%)
CIE-LABlab(29.30, 25.74, -53.86)
CIE-LCHlch(29.30, 59.70, 295.55°)
OKLaboklab(40.04% -0.0055 -0.1555)
OKLCHoklch(40.04% 0.156 268)
XYZxyz(8.2095, 5.9572, 31.2828)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C9A #9A8325
analogous
#25779A #253C9A #48259A
triadic
#253C9A #9A253C #3C9A25
tetradic
#253C9A #9A2577 #9A8325 #259A48
square
#253C9A #9A2577 #9A8325 #259A48
split-complementary
#253C9A #9A4825 #779A25
monochromatic
#0D1637 #192969 #253C9A #314FCB #6078D9

Accessibility & contrast

On white

9.58
#253C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253C9A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C9A#FFFFFF#000000##FFFFFF
##253C9A1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253c9a;
/* rgb */ color: rgb(37, 60, 154);
/* oklch */ color: oklch(40.0% 0.156 268.0);
Tailwind
colors: {
  custom: {
    50: '#7271b9',
    500: '#253c9a',
    950: '#000000',
  },
}
SCSS
$custom: #253c9a;
$custom-light: #7271b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253c9a",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 154
  },
  "hsl": {
    "h": 228.205,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.15565,
    "h": 268
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#253C9A
secondary
#BEAB5D
accent
#C543E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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