#253497#253497

#253497 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.161 H 270.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#253497
RGBrgb(37, 52, 151)
HSLhsl(232, 61%, 37%)
HSVhsv(232, 75%, 59%)
CMYKcmyk(75.5%, 65.6%, 0%, 40.8%)
CIE-LABlab(26.97, 29.96, -55.84)
CIE-LCHlch(26.97, 63.37, 298.21°)
OKLaboklab(38.23% 0 -0.1615)
OKLCHoklch(38.23% 0.161 270)
XYZxyz(7.5749, 5.0829, 29.8540)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253497 #978825
analogous
#256D97 #253497 #4F2597
triadic
#253497 #972534 #349725
tetradic
#253497 #97256D #978825 #25974F
square
#253497 #97256D #978825 #25974F
split-complementary
#253497 #974F25 #6D9725
monochromatic
#0D1235 #192366 #253497 #3145C8 #5F6FD8

Accessibility & contrast

On white

10.41
#253497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#253497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253497
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253497#FFFFFF#000000##FFFFFF
##2534971.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253497;
/* rgb */ color: rgb(37, 52, 151);
/* oklch */ color: oklch(38.2% 0.161 270.0);
Tailwind
colors: {
  custom: {
    50: '#726bb7',
    500: '#253497',
    950: '#000000',
  },
}
SCSS
$custom: #253497;
$custom-light: #726bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#253497",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 232.105,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38233,
    "c": 0.16146,
    "h": 270
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#253497
secondary
#BDB05B
accent
#CF44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253497

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

Preview Lab → · Contrast checker → · Palette generator →

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