#253AA5#253AA5

#253AA5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.173 H 268.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#253AA5
RGBrgb(37, 58, 165)
HSLhsl(230, 63%, 40%)
HSVhsv(230, 78%, 65%)
CMYKcmyk(77.6%, 64.8%, 0%, 35.3%)
CIE-LABlab(29.75, 31.25, -59.79)
CIE-LCHlch(29.75, 67.47, 297.59°)
OKLaboklab(40.67% -0.0044 -0.173)
OKLCHoklch(40.67% 0.173 268.5)
XYZxyz(9.0652, 6.1350, 36.2964)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AA5 #A59025
analogous
#257AA5 #253AA5 #5025A5
triadic
#253AA5 #A5253A #3AA525
tetradic
#253AA5 #A5257A #A59025 #25A550
square
#253AA5 #A5257A #A59025 #25A550
split-complementary
#253AA5 #A55025 #7AA525
monochromatic
#0F1741 #1A2873 #253AA5 #354FD2 #677BDD

Accessibility & contrast

On white

9.43
#253AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#253AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253AA5
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253AA5#FFFFFF#000000##FFFFFF
##253AA51.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253aa5;
/* rgb */ color: rgb(37, 58, 165);
/* oklch */ color: oklch(40.7% 0.173 268.5);
Tailwind
colors: {
  custom: {
    50: '#7570c1',
    500: '#253aa5',
    950: '#000000',
  },
}
SCSS
$custom: #253aa5;
$custom-light: #7570c1;
$custom-dark: #000000;
JSON
{
  "hex": "#253aa5",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 230.156,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.17303,
    "h": 268.5
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#253AA5
secondary
#C3B363
accent
#CB41E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #253AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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