#253897#253897

#253897 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.157 H 269.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#253897
RGBrgb(37, 56, 151)
HSLhsl(230, 61%, 37%)
HSVhsv(230, 75%, 59%)
CMYKcmyk(75.5%, 62.9%, 0%, 40.8%)
CIE-LABlab(27.99, 27.29, -54.17)
CIE-LCHlch(27.99, 60.65, 296.74°)
OKLaboklab(38.99% -0.0027 -0.1565)
OKLCHoklch(38.99% 0.157 269)
XYZxyz(7.7611, 5.4552, 29.9161)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253897 #978425
analogous
#257197 #253897 #4B2597
triadic
#253897 #972538 #389725
tetradic
#253897 #972571 #978425 #25974B
square
#253897 #972571 #978425 #25974B
split-complementary
#253897 #974B25 #719725
monochromatic
#0D1435 #192666 #253897 #314AC8 #5F73D8

Accessibility & contrast

On white

10.04
#253897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253897
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253897#FFFFFF#000000##FFFFFF
##2538971.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253897;
/* rgb */ color: rgb(37, 56, 151);
/* oklch */ color: oklch(39.0% 0.157 269.0);
Tailwind
colors: {
  custom: {
    50: '#716eb6',
    500: '#253897',
    950: '#000000',
  },
}
SCSS
$custom: #253897;
$custom-light: #716eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#253897",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 230,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.15653,
    "h": 269
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#253897
secondary
#BDAC5B
accent
#C944E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253897

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

Preview Lab → · Contrast checker → · Palette generator →

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