#253C98#253C98

#253C98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.153 H 267.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#253C98
RGBrgb(37, 60, 152)
HSLhsl(228, 61%, 37%)
HSVhsv(228, 76%, 60%)
CMYKcmyk(75.7%, 60.5%, 0%, 40.4%)
CIE-LABlab(29.14, 24.97, -52.91)
CIE-LCHlch(29.14, 58.51, 295.27°)
OKLaboklab(39.86% -0.0055 -0.1528)
OKLCHoklch(39.86% 0.153 267.9)
XYZxyz(8.0443, 5.8912, 30.4128)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C98 #988125
analogous
#257698 #253C98 #482598
triadic
#253C98 #98253C #3C9825
tetradic
#253C98 #982576 #988125 #259848
square
#253C98 #982576 #988125 #259848
split-complementary
#253C98 #984825 #769825
monochromatic
#0D1536 #192967 #253C98 #314FC9 #5F77D8

Accessibility & contrast

On white

9.64
#253C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#253C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C98
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C98#FFFFFF#000000##FFFFFF
##253C981.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253c98;
/* rgb */ color: rgb(37, 60, 152);
/* oklch */ color: oklch(39.9% 0.153 267.9);
Tailwind
colors: {
  custom: {
    50: '#7171b7',
    500: '#253c98',
    950: '#000000',
  },
}
SCSS
$custom: #253c98;
$custom-light: #7171b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253c98",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 228,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39862,
    "c": 0.15288,
    "h": 267.9
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#253C98
secondary
#BDAA5C
accent
#C444E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253C98

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

Preview Lab → · Contrast checker → · Palette generator →

#253C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva