#253798#253798

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

Color values

HEX#253798
RGBrgb(37, 55, 152)
HSLhsl(231, 61%, 37%)
HSVhsv(231, 76%, 60%)
CMYKcmyk(75.7%, 63.8%, 0%, 40.4%)
CIE-LABlab(27.82, 28.34, -55.06)
CIE-LCHlch(27.82, 61.92, 297.23°)
OKLaboklab(38.89% -0.002 -0.1591)
OKLCHoklch(38.89% 0.159 269.3)
XYZxyz(7.7947, 5.3919, 30.3296)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253798 #988625
analogous
#257198 #253798 #4D2598
triadic
#253798 #982537 #379825
tetradic
#253798 #982571 #988625 #25984D
square
#253798 #982571 #988625 #25984D
split-complementary
#253798 #984D25 #719825
monochromatic
#0D1336 #192567 #253798 #3149C9 #5F72D8

Accessibility & contrast

On white

10.10
#253798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#253798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253798
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253798#FFFFFF#000000##FFFFFF
##2537981.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253798;
/* rgb */ color: rgb(37, 55, 152);
/* oklch */ color: oklch(38.9% 0.159 269.3);
Tailwind
colors: {
  custom: {
    50: '#726db7',
    500: '#253798',
    950: '#000000',
  },
}
SCSS
$custom: #253798;
$custom-light: #726db7;
$custom-dark: #000000;
JSON
{
  "hex": "#253798",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 230.609,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.15914,
    "h": 269.3
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253798

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

Preview Lab → · Contrast checker → · Palette generator →

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