#253B98#253B98

#253B98 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.154 H 268.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#253B98
RGBrgb(37, 59, 152)
HSLhsl(229, 61%, 37%)
HSVhsv(229, 76%, 60%)
CMYKcmyk(75.7%, 61.2%, 0%, 40.4%)
CIE-LABlab(28.87, 25.65, -53.35)
CIE-LCHlch(28.87, 59.20, 295.68°)
OKLaboklab(39.66% -0.0048 -0.1541)
OKLCHoklch(39.66% 0.154 268.2)
XYZxyz(7.9924, 5.7874, 30.3955)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B98 #988225
analogous
#257598 #253B98 #492598
triadic
#253B98 #98253B #3B9825
tetradic
#253B98 #982575 #988225 #259849
square
#253B98 #982575 #988225 #259849
split-complementary
#253B98 #984925 #759825
monochromatic
#0D1536 #192867 #253B98 #314EC9 #5F76D8

Accessibility & contrast

On white

9.73
#253B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#253B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B98
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B98#FFFFFF#000000##FFFFFF
##253B981.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253b98;
/* rgb */ color: rgb(37, 59, 152);
/* oklch */ color: oklch(39.7% 0.154 268.2);
Tailwind
colors: {
  custom: {
    50: '#7170b7',
    500: '#253b98',
    950: '#000000',
  },
}
SCSS
$custom: #253b98;
$custom-light: #7170b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253b98",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 228.522,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.15415,
    "h": 268.2
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#253B98
secondary
#BDAB5C
accent
#C544E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253B98

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

Preview Lab → · Contrast checker → · Palette generator →

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