#253F9F#253F9F

#253F9F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.159 H 267.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#253F9F
RGBrgb(37, 63, 159)
HSLhsl(227, 62%, 38%)
HSVhsv(227, 77%, 62%)
CMYKcmyk(76.7%, 60.4%, 0%, 37.6%)
CIE-LABlab(30.52, 25.64, -54.91)
CIE-LCHlch(30.52, 60.60, 295.03°)
OKLaboklab(41.08% -0.0076 -0.1586)
OKLCHoklch(41.08% 0.159 267.3)
XYZxyz(8.7963, 6.4506, 33.5757)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F9F #9F8525
analogous
#257C9F #253F9F #48259F
triadic
#253F9F #9F253F #3F9F25
tetradic
#253F9F #9F257C #9F8525 #259F48
square
#253F9F #9F257C #9F8525 #259F48
split-complementary
#253F9F #9F4825 #7C9F25
monochromatic
#0E183C #192B6D #253F9F #3253CF #647DDB

Accessibility & contrast

On white

9.17
#253F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#253F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F9F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F9F#FFFFFF#000000##FFFFFF
##253F9F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253f9f;
/* rgb */ color: rgb(37, 63, 159);
/* oklch */ color: oklch(41.1% 0.159 267.3);
Tailwind
colors: {
  custom: {
    50: '#7373bc',
    500: '#253f9f',
    950: '#000000',
  },
}
SCSS
$custom: #253f9f;
$custom-light: #7373bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253f9f",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 227.213,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41077,
    "c": 0.15877,
    "h": 267.3
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#253F9F
secondary
#C0AC5F
accent
#C342E5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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