#253AA4#253AA4

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

Color values

HEX#253AA4
RGBrgb(37, 58, 164)
HSLhsl(230, 63%, 39%)
HSVhsv(230, 77%, 64%)
CMYKcmyk(77.4%, 64.6%, 0%, 35.7%)
CIE-LABlab(29.66, 30.87, -59.34)
CIE-LCHlch(29.66, 66.89, 297.48°)
OKLaboklab(40.57% -0.0043 -0.1716)
OKLCHoklch(40.57% 0.172 268.5)
XYZxyz(8.9745, 6.0988, 35.8190)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AA4 #A48F25
analogous
#257AA4 #253AA4 #5025A4
triadic
#253AA4 #A4253A #3AA425
tetradic
#253AA4 #A4257A #A48F25 #25A450
square
#253AA4 #A4257A #A48F25 #25A450
split-complementary
#253AA4 #A45025 #7AA425
monochromatic
#0E1740 #1A2872 #253AA4 #354FD1 #677ADD

Accessibility & contrast

On white

9.46
#253AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#253AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253AA4
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253AA4#FFFFFF#000000##FFFFFF
##253AA41.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253aa4;
/* rgb */ color: rgb(37, 58, 164);
/* oklch */ color: oklch(40.6% 0.172 268.5);
Tailwind
colors: {
  custom: {
    50: '#7470c0',
    500: '#253aa4',
    950: '#000000',
  },
}
SCSS
$custom: #253aa4;
$custom-light: #7470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#253aa4",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 230.079,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.1717,
    "h": 268.5
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#253AA4
secondary
#C2B362
accent
#CB42E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #253AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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