#253A98#253A98

#253A98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.155 H 268.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#253A98
RGBrgb(37, 58, 152)
HSLhsl(229, 61%, 37%)
HSVhsv(229, 76%, 60%)
CMYKcmyk(75.7%, 61.8%, 0%, 40.4%)
CIE-LABlab(28.61, 26.32, -53.78)
CIE-LCHlch(28.61, 59.88, 296.08°)
OKLaboklab(39.47% -0.0041 -0.1553)
OKLCHoklch(39.47% 0.155 268.5)
XYZxyz(7.9415, 5.6856, 30.3786)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A98 #988325
analogous
#257498 #253A98 #492598
triadic
#253A98 #98253A #3A9825
tetradic
#253A98 #982574 #988325 #259849
square
#253A98 #982574 #988325 #259849
split-complementary
#253A98 #984925 #749825
monochromatic
#0D1436 #192767 #253A98 #314DC9 #5F75D8

Accessibility & contrast

On white

9.83
#253A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#253A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A98
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A98#FFFFFF#000000##FFFFFF
##253A981.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253a98;
/* rgb */ color: rgb(37, 58, 152);
/* oklch */ color: oklch(39.5% 0.155 268.5);
Tailwind
colors: {
  custom: {
    50: '#7170b7',
    500: '#253a98',
    950: '#000000',
  },
}
SCSS
$custom: #253a98;
$custom-light: #7170b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253a98",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 229.043,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39467,
    "c": 0.1554,
    "h": 268.5
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253A98

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

Preview Lab → · Contrast checker → · Palette generator →

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