#253D9F#253D9F

#253D9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.161 H 267.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#253D9F
RGBrgb(37, 61, 159)
HSLhsl(228, 62%, 38%)
HSVhsv(228, 77%, 62%)
CMYKcmyk(76.7%, 61.6%, 0%, 37.6%)
CIE-LABlab(29.99, 26.98, -55.77)
CIE-LCHlch(29.99, 61.96, 295.82°)
OKLaboklab(40.68% -0.0062 -0.1611)
OKLCHoklch(40.68% 0.161 267.8)
XYZxyz(8.6875, 6.2330, 33.5394)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D9F #9F8725
analogous
#257A9F #253D9F #4A259F
triadic
#253D9F #9F253D #3D9F25
tetradic
#253D9F #9F257A #9F8725 #259F4A
square
#253D9F #9F257A #9F8725 #259F4A
split-complementary
#253D9F #9F4A25 #7A9F25
monochromatic
#0E173C #192A6D #253D9F #3251CF #647BDB

Accessibility & contrast

On white

9.35
#253D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#253D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D9F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D9F#FFFFFF#000000##FFFFFF
##253D9F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253d9f;
/* rgb */ color: rgb(37, 61, 159);
/* oklch */ color: oklch(40.7% 0.161 267.8);
Tailwind
colors: {
  custom: {
    50: '#7372bc',
    500: '#253d9f',
    950: '#000000',
  },
}
SCSS
$custom: #253d9f;
$custom-light: #7372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253d9f",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 228.197,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.16127,
    "h": 267.8
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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