#253BA3#253BA3

#253BA3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.169 H 268.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#253BA3
RGBrgb(37, 59, 163)
HSLhsl(230, 63%, 39%)
HSVhsv(230, 77%, 64%)
CMYKcmyk(77.3%, 63.8%, 0%, 36.1%)
CIE-LABlab(29.82, 29.83, -58.47)
CIE-LCHlch(29.82, 65.64, 297.03°)
OKLaboklab(40.67% -0.0049 -0.1691)
OKLCHoklch(40.67% 0.169 268.3)
XYZxyz(8.9355, 6.1646, 35.3622)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253BA3 #A38D25
analogous
#257AA3 #253BA3 #4E25A3
triadic
#253BA3 #A3253B #3BA325
tetradic
#253BA3 #A3257A #A38D25 #25A34E
square
#253BA3 #A3257A #A38D25 #25A34E
split-complementary
#253BA3 #A34E25 #7AA325
monochromatic
#0E173F #1A2971 #253BA3 #3450D1 #667BDC

Accessibility & contrast

On white

9.40
#253BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#253BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253BA3
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253BA3#FFFFFF#000000##FFFFFF
##253BA31.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253ba3;
/* rgb */ color: rgb(37, 59, 163);
/* oklch */ color: oklch(40.7% 0.169 268.3);
Tailwind
colors: {
  custom: {
    50: '#7470bf',
    500: '#253ba3',
    950: '#000000',
  },
}
SCSS
$custom: #253ba3;
$custom-light: #7470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#253ba3",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 229.524,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.16915,
    "h": 268.3
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#253BA3
secondary
#C2B162
accent
#C942E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #253BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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