#253C9F#253C9F

#253C9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.163 H 268.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#253C9F
RGBrgb(37, 60, 159)
HSLhsl(229, 62%, 38%)
HSVhsv(229, 77%, 62%)
CMYKcmyk(76.7%, 62.3%, 0%, 37.6%)
CIE-LABlab(29.73, 27.65, -56.20)
CIE-LCHlch(29.73, 62.63, 296.20°)
OKLaboklab(40.49% -0.0055 -0.1624)
OKLCHoklch(40.49% 0.163 268.1)
XYZxyz(8.6346, 6.1273, 33.5218)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C9F #9F8825
analogous
#25799F #253C9F #4B259F
triadic
#253C9F #9F253C #3C9F25
tetradic
#253C9F #9F2579 #9F8825 #259F4B
square
#253C9F #9F2579 #9F8825 #259F4B
split-complementary
#253C9F #9F4B25 #799F25
monochromatic
#0E173C #19296D #253C9F #3250CF #647ADB

Accessibility & contrast

On white

9.44
#253C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#253C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C9F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C9F#FFFFFF#000000##FFFFFF
##253C9F1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253c9f;
/* rgb */ color: rgb(37, 60, 159);
/* oklch */ color: oklch(40.5% 0.163 268.1);
Tailwind
colors: {
  custom: {
    50: '#7371bc',
    500: '#253c9f',
    950: '#000000',
  },
}
SCSS
$custom: #253c9f;
$custom-light: #7371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253c9f",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 228.689,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.16251,
    "h": 268.1
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#253C9F
secondary
#C0AE5F
accent
#C742E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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