#253AA0#253AA0

#253AA0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.166 H 268.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#253AA0
RGBrgb(37, 58, 160)
HSLhsl(230, 62%, 39%)
HSVhsv(230, 77%, 63%)
CMYKcmyk(76.9%, 63.8%, 0%, 37.3%)
CIE-LABlab(29.30, 29.37, -57.51)
CIE-LCHlch(29.30, 64.57, 297.05°)
OKLaboklab(40.2% -0.0042 -0.1663)
OKLCHoklch(40.2% 0.166 268.5)
XYZxyz(8.6190, 5.9565, 33.9464)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AA0 #A08B25
analogous
#2577A0 #253AA0 #4D25A0
triadic
#253AA0 #A0253A #3AA025
tetradic
#253AA0 #A02577 #A08B25 #25A04D
square
#253AA0 #A02577 #A08B25 #25A04D
split-complementary
#253AA0 #A04D25 #77A025
monochromatic
#0E163D #1A286E #253AA0 #324DD0 #6479DB

Accessibility & contrast

On white

9.58
#253AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#253AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253AA0
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253AA0#FFFFFF#000000##FFFFFF
##253AA01.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253aa0;
/* rgb */ color: rgb(37, 58, 160);
/* oklch */ color: oklch(40.2% 0.166 268.5);
Tailwind
colors: {
  custom: {
    50: '#7370bd',
    500: '#253aa0',
    950: '#000000',
  },
}
SCSS
$custom: #253aa0;
$custom-light: #7370bd;
$custom-dark: #000000;
JSON
{
  "hex": "#253aa0",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 229.756,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.402,
    "c": 0.16632,
    "h": 268.5
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#253AA0
secondary
#C1B060
accent
#CA42E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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