#253DA7#253DA7

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

Color values

HEX#253DA7
RGBrgb(37, 61, 167)
HSLhsl(229, 64%, 40%)
HSVhsv(229, 78%, 65%)
CMYKcmyk(77.8%, 63.5%, 0%, 34.5%)
CIE-LABlab(30.69, 30.02, -59.46)
CIE-LCHlch(30.69, 66.61, 296.79°)
OKLaboklab(41.41% -0.0063 -0.172)
OKLCHoklch(41.41% 0.172 267.9)
XYZxyz(9.4043, 6.5198, 37.3145)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253DA7 #A78F25
analogous
#257EA7 #253DA7 #4E25A7
triadic
#253DA7 #A7253D #3DA725
tetradic
#253DA7 #A7257E #A78F25 #25A74E
square
#253DA7 #A7257E #A78F25 #25A74E
split-complementary
#253DA7 #A74E25 #7EA725
monochromatic
#0F1843 #1A2B75 #253DA7 #3753D3 #697EDE

Accessibility & contrast

On white

9.11
#253DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253DA7
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253DA7#FFFFFF#000000##FFFFFF
##253DA71.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253da7;
/* rgb */ color: rgb(37, 61, 167);
/* oklch */ color: oklch(41.4% 0.172 267.9);
Tailwind
colors: {
  custom: {
    50: '#7572c2',
    500: '#253da7',
    950: '#000000',
  },
}
SCSS
$custom: #253da7;
$custom-light: #7572c2;
$custom-dark: #000000;
JSON
{
  "hex": "#253da7",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 228.923,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.41413,
    "c": 0.17208,
    "h": 267.9
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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