#253CA2#253CA2

#253CA2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.167 H 268.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#253CA2
RGBrgb(37, 60, 162)
HSLhsl(229, 63%, 39%)
HSVhsv(229, 77%, 64%)
CMYKcmyk(77.2%, 63%, 0%, 36.5%)
CIE-LABlab(29.99, 28.79, -57.59)
CIE-LCHlch(29.99, 64.39, 296.56°)
OKLaboklab(40.76% -0.0056 -0.1665)
OKLCHoklch(40.76% 0.167 268.1)
XYZxyz(8.8981, 6.2327, 34.9095)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253CA2 #A28B25
analogous
#257BA2 #253CA2 #4D25A2
triadic
#253CA2 #A2253C #3CA225
tetradic
#253CA2 #A2257B #A28B25 #25A24D
square
#253CA2 #A2257B #A28B25 #25A24D
split-complementary
#253CA2 #A24D25 #7BA225
monochromatic
#0E173E #1A2A70 #253CA2 #3451D1 #657BDC

Accessibility & contrast

On white

9.35
#253CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#253CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253CA2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253CA2#FFFFFF#000000##FFFFFF
##253CA21.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253ca2;
/* rgb */ color: rgb(37, 60, 162);
/* oklch */ color: oklch(40.8% 0.167 268.1);
Tailwind
colors: {
  custom: {
    50: '#7471be',
    500: '#253ca2',
    950: '#000000',
  },
}
SCSS
$custom: #253ca2;
$custom-light: #7471be;
$custom-dark: #000000;
JSON
{
  "hex": "#253ca2",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 228.96,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.16658,
    "h": 268.1
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#253CA2
secondary
#C2B061
accent
#C842E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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