#253C9E#253C9E

#253C9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.161 H 268.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#253C9E
RGBrgb(37, 60, 158)
HSLhsl(229, 62%, 38%)
HSVhsv(229, 77%, 62%)
CMYKcmyk(76.6%, 62%, 0%, 38%)
CIE-LABlab(29.65, 27.27, -55.73)
CIE-LCHlch(29.65, 62.05, 296.07°)
OKLaboklab(40.4% -0.0055 -0.161)
OKLCHoklch(40.4% 0.161 268)
XYZxyz(8.5482, 6.0927, 33.0666)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C9E #9E8725
analogous
#25789E #253C9E #4A259E
triadic
#253C9E #9E253C #3C9E25
tetradic
#253C9E #9E2578 #9E8725 #259E4A
square
#253C9E #9E2578 #9E8725 #259E4A
split-complementary
#253C9E #9E4A25 #789E25
monochromatic
#0E163B #19296C #253C9E #314FCF #637ADA

Accessibility & contrast

On white

9.46
#253C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#253C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C9E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C9E#FFFFFF#000000##FFFFFF
##253C9E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253c9e;
/* rgb */ color: rgb(37, 60, 158);
/* oklch */ color: oklch(40.4% 0.161 268.0);
Tailwind
colors: {
  custom: {
    50: '#7371bc',
    500: '#253c9e',
    950: '#000000',
  },
}
SCSS
$custom: #253c9e;
$custom-light: #7371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253c9e",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 228.595,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.16114,
    "h": 268
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#253C9E
secondary
#C0AD5F
accent
#C643E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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