#253698#253698

#253698 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.160 H 269.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#253698
RGBrgb(37, 54, 152)
HSLhsl(231, 61%, 37%)
HSVhsv(231, 76%, 60%)
CMYKcmyk(75.7%, 64.5%, 0%, 40.4%)
CIE-LABlab(27.57, 29.01, -55.48)
CIE-LCHlch(27.57, 62.60, 297.60°)
OKLaboklab(38.7% -0.0013 -0.1604)
OKLCHoklch(38.7% 0.16 269.5)
XYZxyz(7.7477, 5.2978, 30.3139)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253698 #988725
analogous
#257098 #253698 #4D2598
triadic
#253698 #982536 #369825
tetradic
#253698 #982570 #988725 #25984D
square
#253698 #982570 #988725 #25984D
split-complementary
#253698 #984D25 #709825
monochromatic
#0D1336 #192567 #253698 #3147C9 #5F71D8

Accessibility & contrast

On white

10.20
#253698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#253698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253698
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253698#FFFFFF#000000##FFFFFF
##2536981.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253698;
/* rgb */ color: rgb(37, 54, 152);
/* oklch */ color: oklch(38.7% 0.160 269.5);
Tailwind
colors: {
  custom: {
    50: '#726db7',
    500: '#253698',
    950: '#000000',
  },
}
SCSS
$custom: #253698;
$custom-light: #726db7;
$custom-dark: #000000;
JSON
{
  "hex": "#253698",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 231.13,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.387,
    "c": 0.16038,
    "h": 269.5
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#253698
secondary
#BDAF5C
accent
#CC44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253698

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

Preview Lab → · Contrast checker → · Palette generator →

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