#253C9B#253C9B

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

Color values

HEX#253C9B
RGBrgb(37, 60, 155)
HSLhsl(228, 61%, 38%)
HSVhsv(228, 76%, 61%)
CMYKcmyk(76.1%, 61.3%, 0%, 39.2%)
CIE-LABlab(29.39, 26.13, -54.33)
CIE-LCHlch(29.39, 60.29, 295.68°)
OKLaboklab(40.13% -0.0055 -0.1569)
OKLCHoklch(40.13% 0.157 268)
XYZxyz(8.2932, 5.9907, 31.7232)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C9B #9B8425
analogous
#25779B #253C9B #49259B
triadic
#253C9B #9B253C #3C9B25
tetradic
#253C9B #9B2577 #9B8425 #259B49
square
#253C9B #9B2577 #9B8425 #259B49
split-complementary
#253C9B #9B4925 #779B25
monochromatic
#0D1638 #19296A #253C9B #314FCC #6179D9

Accessibility & contrast

On white

9.55
#253C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#253C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C9B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C9B#FFFFFF#000000##FFFFFF
##253C9B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253c9b;
/* rgb */ color: rgb(37, 60, 155);
/* oklch */ color: oklch(40.1% 0.157 268.0);
Tailwind
colors: {
  custom: {
    50: '#7271b9',
    500: '#253c9b',
    950: '#000000',
  },
}
SCSS
$custom: #253c9b;
$custom-light: #7271b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253c9b",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 155
  },
  "hsl": {
    "h": 228.305,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.15703,
    "h": 268
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#253C9B
secondary
#BFAC5D
accent
#C543E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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