#253E9F#253E9F

#253E9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.160 H 267.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#253E9F
RGBrgb(37, 62, 159)
HSLhsl(228, 62%, 38%)
HSVhsv(228, 77%, 62%)
CMYKcmyk(76.7%, 61%, 0%, 37.6%)
CIE-LABlab(30.26, 26.31, -55.34)
CIE-LCHlch(30.26, 61.28, 295.43°)
OKLaboklab(40.88% -0.0069 -0.1599)
OKLCHoklch(40.88% 0.16 267.5)
XYZxyz(8.7414, 6.3408, 33.5574)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E9F #9F8625
analogous
#257B9F #253E9F #49259F
triadic
#253E9F #9F253E #3E9F25
tetradic
#253E9F #9F257B #9F8625 #259F49
square
#253E9F #9F257B #9F8625 #259F49
split-complementary
#253E9F #9F4925 #7B9F25
monochromatic
#0E173C #192B6D #253E9F #3252CF #647CDB

Accessibility & contrast

On white

9.26
#253E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#253E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E9F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E9F#FFFFFF#000000##FFFFFF
##253E9F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253e9f;
/* rgb */ color: rgb(37, 62, 159);
/* oklch */ color: oklch(40.9% 0.160 267.5);
Tailwind
colors: {
  custom: {
    50: '#7373bc',
    500: '#253e9f',
    950: '#000000',
  },
}
SCSS
$custom: #253e9f;
$custom-light: #7373bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253e9f",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 227.705,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.16003,
    "h": 267.5
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#253E9F
secondary
#C0AC5F
accent
#C442E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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