#253DA6#253DA6

#253DA6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.171 H 267.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#253DA6
RGBrgb(37, 61, 166)
HSLhsl(229, 64%, 40%)
HSVhsv(229, 78%, 65%)
CMYKcmyk(77.7%, 63.3%, 0%, 34.9%)
CIE-LABlab(30.60, 29.64, -59.01)
CIE-LCHlch(30.60, 66.03, 296.67°)
OKLaboklab(41.32% -0.0063 -0.1706)
OKLCHoklch(41.32% 0.171 267.9)
XYZxyz(9.3122, 6.4829, 36.8295)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253DA6 #A68E25
analogous
#257EA6 #253DA6 #4D25A6
triadic
#253DA6 #A6253D #3DA625
tetradic
#253DA6 #A6257E #A68E25 #25A64D
square
#253DA6 #A6257E #A68E25 #25A64D
split-complementary
#253DA6 #A64D25 #7EA625
monochromatic
#0F1842 #1A2B74 #253DA6 #3653D2 #687EDD

Accessibility & contrast

On white

9.14
#253DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#253DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253DA6
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253DA6#FFFFFF#000000##FFFFFF
##253DA61.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253da6;
/* rgb */ color: rgb(37, 61, 166);
/* oklch */ color: oklch(41.3% 0.171 267.9);
Tailwind
colors: {
  custom: {
    50: '#7572c1',
    500: '#253da6',
    950: '#000000',
  },
}
SCSS
$custom: #253da6;
$custom-light: #7572c1;
$custom-dark: #000000;
JSON
{
  "hex": "#253da6",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 166
  },
  "hsl": {
    "h": 228.837,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.17075,
    "h": 267.9
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#253DA6
secondary
#C3B164
accent
#C841E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #253DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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