#253DAF#253DAF

#253DAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.183 H 267.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#253DAF
RGBrgb(37, 61, 175)
HSLhsl(230, 65%, 42%)
HSVhsv(230, 79%, 69%)
CMYKcmyk(78.9%, 65.1%, 0%, 31.4%)
CIE-LABlab(31.40, 33.02, -63.08)
CIE-LCHlch(31.40, 71.20, 297.63°)
OKLaboklab(42.16% -0.0065 -0.1825)
OKLCHoklch(42.16% 0.183 267.9)
XYZxyz(10.1669, 6.8248, 41.3306)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253DAF #AF9725
analogous
#2582AF #253DAF #5225AF
triadic
#253DAF #AF253D #3DAF25
tetradic
#253DAF #AF2582 #AF9725 #25AF52
square
#253DAF #AF2582 #AF9725 #25AF52
split-complementary
#253DAF #AF5225 #82AF25
monochromatic
#101A4A #1A2B7C #253DAF #3C56D6 #6E82E0

Accessibility & contrast

On white

8.88
#253DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#253DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253DAF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253DAF#FFFFFF#000000##FFFFFF
##253DAF1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #253daf;
/* rgb */ color: rgb(37, 61, 175);
/* oklch */ color: oklch(42.2% 0.183 267.9);
Tailwind
colors: {
  custom: {
    50: '#7772c8',
    500: '#253daf',
    950: '#000000',
  },
}
SCSS
$custom: #253daf;
$custom-light: #7772c8;
$custom-dark: #000000;
JSON
{
  "hex": "#253daf",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 229.565,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.18267,
    "h": 267.9
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#253DAF
secondary
#C7B769
accent
#CB40E8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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