#253BA7#253BA7

#253BA7 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.174 H 268.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#253BA7
RGBrgb(37, 59, 167)
HSLhsl(230, 64%, 40%)
HSVhsv(230, 78%, 65%)
CMYKcmyk(77.8%, 64.7%, 0%, 34.5%)
CIE-LABlab(30.18, 31.34, -60.29)
CIE-LCHlch(30.18, 67.95, 297.46°)
OKLaboklab(41.04% -0.0051 -0.1744)
OKLCHoklch(41.04% 0.174 268.3)
XYZxyz(9.2995, 6.3102, 37.2796)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253BA7 #A79125
analogous
#257CA7 #253BA7 #5025A7
triadic
#253BA7 #A7253B #3BA725
tetradic
#253BA7 #A7257C #A79125 #25A750
square
#253BA7 #A7257C #A79125 #25A750
split-complementary
#253BA7 #A75025 #7CA725
monochromatic
#0F1843 #1A2975 #253BA7 #3751D3 #697DDE

Accessibility & contrast

On white

9.28
#253BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#253BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253BA7
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253BA7#FFFFFF#000000##FFFFFF
##253BA71.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253ba7;
/* rgb */ color: rgb(37, 59, 167);
/* oklch */ color: oklch(41.0% 0.174 268.3);
Tailwind
colors: {
  custom: {
    50: '#7570c2',
    500: '#253ba7',
    950: '#000000',
  },
}
SCSS
$custom: #253ba7;
$custom-light: #7570c2;
$custom-dark: #000000;
JSON
{
  "hex": "#253ba7",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 229.846,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.4104,
    "c": 0.17449,
    "h": 268.3
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#253BA7
secondary
#C4B464
accent
#CB41E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #253BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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