#253F9E#253F9E

#253F9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.157 H 267.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#253F9E
RGBrgb(37, 63, 158)
HSLhsl(227, 62%, 38%)
HSVhsv(227, 77%, 62%)
CMYKcmyk(76.6%, 60.1%, 0%, 38%)
CIE-LABlab(30.44, 25.25, -54.44)
CIE-LCHlch(30.44, 60.01, 294.89°)
OKLaboklab(40.99% -0.0076 -0.1572)
OKLCHoklch(40.99% 0.157 267.2)
XYZxyz(8.7099, 6.4160, 33.1205)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F9E #9E8425
analogous
#257B9E #253F9E #47259E
triadic
#253F9E #9E253F #3F9E25
tetradic
#253F9E #9E257B #9E8425 #259E47
square
#253F9E #9E257B #9E8425 #259E47
split-complementary
#253F9E #9E4725 #7B9E25
monochromatic
#0E173B #192B6C #253F9E #3153CF #637DDA

Accessibility & contrast

On white

9.20
#253F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#253F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F9E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F9E#FFFFFF#000000##FFFFFF
##253F9E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253f9e;
/* rgb */ color: rgb(37, 63, 158);
/* oklch */ color: oklch(41.0% 0.157 267.2);
Tailwind
colors: {
  custom: {
    50: '#7273bb',
    500: '#253f9e',
    950: '#000000',
  },
}
SCSS
$custom: #253f9e;
$custom-light: #7273bb;
$custom-dark: #000000;
JSON
{
  "hex": "#253f9e",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 227.107,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.15739,
    "h": 267.2
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#253F9E
secondary
#C0AB5F
accent
#C243E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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