#253A9E#253A9E

#253A9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.164 H 268.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#253A9E
RGBrgb(37, 58, 158)
HSLhsl(230, 62%, 38%)
HSVhsv(230, 77%, 62%)
CMYKcmyk(76.6%, 63.3%, 0%, 38%)
CIE-LABlab(29.13, 28.61, -56.58)
CIE-LCHlch(29.13, 63.40, 296.82°)
OKLaboklab(40.02% -0.0042 -0.1636)
OKLCHoklch(40.02% 0.164 268.5)
XYZxyz(8.4454, 5.8871, 33.0324)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A9E #9E8925
analogous
#25769E #253A9E #4C259E
triadic
#253A9E #9E253A #3A9E25
tetradic
#253A9E #9E2576 #9E8925 #259E4C
square
#253A9E #9E2576 #9E8925 #259E4C
split-complementary
#253A9E #9E4C25 #769E25
monochromatic
#0E163B #19286C #253A9E #314DCF #6378DA

Accessibility & contrast

On white

9.64
#253A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#253A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A9E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A9E#FFFFFF#000000##FFFFFF
##253A9E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253a9e;
/* rgb */ color: rgb(37, 58, 158);
/* oklch */ color: oklch(40.0% 0.164 268.5);
Tailwind
colors: {
  custom: {
    50: '#7370bc',
    500: '#253a9e',
    950: '#000000',
  },
}
SCSS
$custom: #253a9e;
$custom-light: #7370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253a9e",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 229.587,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.16361,
    "h": 268.5
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#253A9E
secondary
#C0AF5F
accent
#C943E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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