#253C9C#253C9C

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

Color values

HEX#253C9C
RGBrgb(37, 60, 156)
HSLhsl(228, 62%, 38%)
HSVhsv(228, 76%, 61%)
CMYKcmyk(76.3%, 61.5%, 0%, 38.8%)
CIE-LABlab(29.47, 26.51, -54.80)
CIE-LCHlch(29.47, 60.87, 295.81°)
OKLaboklab(40.22% -0.0055 -0.1583)
OKLCHoklch(40.22% 0.158 268)
XYZxyz(8.3775, 6.0244, 32.1674)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C9C #9C8525
analogous
#25789C #253C9C #49259C
triadic
#253C9C #9C253C #3C9C25
tetradic
#253C9C #9C2578 #9C8525 #259C49
square
#253C9C #9C2578 #9C8525 #259C49
split-complementary
#253C9C #9C4925 #789C25
monochromatic
#0E1639 #19296B #253C9C #314FCD #6279DA

Accessibility & contrast

On white

9.52
#253C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#253C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C9C
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C9C#FFFFFF#000000##FFFFFF
##253C9C1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253c9c;
/* rgb */ color: rgb(37, 60, 156);
/* oklch */ color: oklch(40.2% 0.158 268.0);
Tailwind
colors: {
  custom: {
    50: '#7271ba',
    500: '#253c9c',
    950: '#000000',
  },
}
SCSS
$custom: #253c9c;
$custom-light: #7271ba;
$custom-dark: #000000;
JSON
{
  "hex": "#253c9c",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 156
  },
  "hsl": {
    "h": 228.403,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.15841,
    "h": 268
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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