#253CA5#253CA5

#253CA5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.171 H 268.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#253CA5
RGBrgb(37, 60, 165)
HSLhsl(229, 63%, 40%)
HSVhsv(229, 78%, 65%)
CMYKcmyk(77.6%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.26, 29.93, -58.97)
CIE-LCHlch(30.26, 66.13, 296.91°)
OKLaboklab(41.04% -0.0056 -0.1705)
OKLCHoklch(41.04% 0.171 268.1)
XYZxyz(9.1680, 6.3406, 36.3307)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253CA5 #A58E25
analogous
#257CA5 #253CA5 #4E25A5
triadic
#253CA5 #A5253C #3CA525
tetradic
#253CA5 #A5257C #A58E25 #25A54E
square
#253CA5 #A5257C #A58E25 #25A54E
split-complementary
#253CA5 #A54E25 #7CA525
monochromatic
#0F1841 #1A2A73 #253CA5 #3552D2 #677DDD

Accessibility & contrast

On white

9.26
#253CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#253CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253CA5
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253CA5#FFFFFF#000000##FFFFFF
##253CA51.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253ca5;
/* rgb */ color: rgb(37, 60, 165);
/* oklch */ color: oklch(41.0% 0.171 268.1);
Tailwind
colors: {
  custom: {
    50: '#7471c1',
    500: '#253ca5',
    950: '#000000',
  },
}
SCSS
$custom: #253ca5;
$custom-light: #7471c1;
$custom-dark: #000000;
JSON
{
  "hex": "#253ca5",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 229.219,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4104,
    "c": 0.17062,
    "h": 268.1
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#253CA5
secondary
#C3B263
accent
#C941E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #253CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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