#253AA7#253AA7

#253AA7 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.176 H 268.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#253AA7
RGBrgb(37, 58, 167)
HSLhsl(230, 64%, 40%)
HSVhsv(230, 78%, 65%)
CMYKcmyk(77.8%, 65.3%, 0%, 34.5%)
CIE-LABlab(29.93, 31.99, -60.70)
CIE-LCHlch(29.93, 68.62, 297.79°)
OKLaboklab(40.86% -0.0045 -0.1756)
OKLCHoklch(40.86% 0.176 268.5)
XYZxyz(9.2486, 6.2084, 37.2626)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AA7 #A79225
analogous
#257BA7 #253AA7 #5125A7
triadic
#253AA7 #A7253A #3AA725
tetradic
#253AA7 #A7257B #A79225 #25A751
square
#253AA7 #A7257B #A79225 #25A751
split-complementary
#253AA7 #A75125 #7BA725
monochromatic
#0F1743 #1A2975 #253AA7 #3750D3 #697CDE

Accessibility & contrast

On white

9.37
#253AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#253AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253AA7
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253AA7#FFFFFF#000000##FFFFFF
##253AA71.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253aa7;
/* rgb */ color: rgb(37, 58, 167);
/* oklch */ color: oklch(40.9% 0.176 268.5);
Tailwind
colors: {
  custom: {
    50: '#7570c2',
    500: '#253aa7',
    950: '#000000',
  },
}
SCSS
$custom: #253aa7;
$custom-light: #7570c2;
$custom-dark: #000000;
JSON
{
  "hex": "#253aa7",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 230.308,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.17568,
    "h": 268.5
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#253AA7
secondary
#C4B464
accent
#CC41E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #253AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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