#253797#253797

#253797 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.158 H 269.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#253797
RGBrgb(37, 55, 151)
HSLhsl(231, 61%, 37%)
HSVhsv(231, 75%, 59%)
CMYKcmyk(75.5%, 63.6%, 0%, 40.8%)
CIE-LABlab(27.73, 27.96, -54.59)
CIE-LCHlch(27.73, 61.34, 297.12°)
OKLaboklab(38.8% -0.002 -0.1578)
OKLCHoklch(38.8% 0.158 269.3)
XYZxyz(7.7131, 5.3592, 29.9001)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253797 #978525
analogous
#257097 #253797 #4C2597
triadic
#253797 #972537 #379725
tetradic
#253797 #972570 #978525 #25974C
square
#253797 #972570 #978525 #25974C
split-complementary
#253797 #974C25 #709725
monochromatic
#0D1335 #192566 #253797 #3149C8 #5F72D8

Accessibility & contrast

On white

10.14
#253797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253797
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253797#FFFFFF#000000##FFFFFF
##2537971.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253797;
/* rgb */ color: rgb(37, 55, 151);
/* oklch */ color: oklch(38.8% 0.158 269.3);
Tailwind
colors: {
  custom: {
    50: '#716db6',
    500: '#253797',
    950: '#000000',
  },
}
SCSS
$custom: #253797;
$custom-light: #716db6;
$custom-dark: #000000;
JSON
{
  "hex": "#253797",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 230.526,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.15777,
    "h": 269.3
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#253797
secondary
#BDAD5B
accent
#CB44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253797

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

Preview Lab → · Contrast checker → · Palette generator →

#253797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva