#253CAF#253CAF

#253CAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.184 H 268.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#253CAF
RGBrgb(37, 60, 175)
HSLhsl(230, 65%, 42%)
HSVhsv(230, 79%, 69%)
CMYKcmyk(78.9%, 65.7%, 0%, 31.4%)
CIE-LABlab(31.16, 33.67, -63.48)
CIE-LCHlch(31.16, 71.86, 297.94°)
OKLaboklab(41.98% -0.006 -0.1837)
OKLCHoklch(41.98% 0.184 268.1)
XYZxyz(10.1140, 6.7190, 41.3130)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253CAF #AF9825
analogous
#2581AF #253CAF #5325AF
triadic
#253CAF #AF253C #3CAF25
tetradic
#253CAF #AF2581 #AF9825 #25AF53
square
#253CAF #AF2581 #AF9825 #25AF53
split-complementary
#253CAF #AF5325 #81AF25
monochromatic
#10194A #1A2B7C #253CAF #3C55D6 #6E81E0

Accessibility & contrast

On white

8.96
#253CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#253CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253CAF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253CAF#FFFFFF#000000##FFFFFF
##253CAF1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #253caf;
/* rgb */ color: rgb(37, 60, 175);
/* oklch */ color: oklch(42.0% 0.184 268.1);
Tailwind
colors: {
  custom: {
    50: '#7771c8',
    500: '#253caf',
    950: '#000000',
  },
}
SCSS
$custom: #253caf;
$custom-light: #7771c8;
$custom-dark: #000000;
JSON
{
  "hex": "#253caf",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 230,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.18384,
    "h": 268.1
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#253CAF
secondary
#C7B769
accent
#CC40E8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #253CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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