#253CA7#253CA7

#253CA7 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.173 H 268.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#253CA7
RGBrgb(37, 60, 167)
HSLhsl(229, 64%, 40%)
HSVhsv(229, 78%, 65%)
CMYKcmyk(77.8%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.43, 30.68, -59.88)
CIE-LCHlch(30.43, 67.28, 297.13°)
OKLaboklab(41.23% -0.0057 -0.1732)
OKLCHoklch(41.23% 0.173 268.1)
XYZxyz(9.3514, 6.4140, 37.2969)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253CA7 #A79025
analogous
#257DA7 #253CA7 #4F25A7
triadic
#253CA7 #A7253C #3CA725
tetradic
#253CA7 #A7257D #A79025 #25A74F
square
#253CA7 #A7257D #A79025 #25A74F
split-complementary
#253CA7 #A74F25 #7DA725
monochromatic
#0F1843 #1A2A75 #253CA7 #3752D3 #697DDE

Accessibility & contrast

On white

9.20
#253CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#253CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253CA7
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253CA7#FFFFFF#000000##FFFFFF
##253CA71.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253ca7;
/* rgb */ color: rgb(37, 60, 167);
/* oklch */ color: oklch(41.2% 0.173 268.1);
Tailwind
colors: {
  custom: {
    50: '#7571c2',
    500: '#253ca7',
    950: '#000000',
  },
}
SCSS
$custom: #253ca7;
$custom-light: #7571c2;
$custom-dark: #000000;
JSON
{
  "hex": "#253ca7",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 229.385,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.41226,
    "c": 0.17329,
    "h": 268.1
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#253CA7
secondary
#C4B364
accent
#C941E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #253CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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