#253C97#253C97

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

Color values

HEX#253C97
RGBrgb(37, 60, 151)
HSLhsl(228, 61%, 37%)
HSVhsv(228, 75%, 59%)
CMYKcmyk(75.5%, 60.3%, 0%, 40.8%)
CIE-LABlab(29.05, 24.59, -52.44)
CIE-LCHlch(29.05, 57.92, 295.12°)
OKLaboklab(39.77% -0.0055 -0.1514)
OKLCHoklch(39.77% 0.151 267.9)
XYZxyz(7.9628, 5.8585, 29.9833)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C97 #978025
analogous
#257597 #253C97 #472597
triadic
#253C97 #97253C #3C9725
tetradic
#253C97 #972575 #978025 #259747
square
#253C97 #972575 #978025 #259747
split-complementary
#253C97 #974725 #759725
monochromatic
#0D1535 #192866 #253C97 #3150C8 #5F77D8

Accessibility & contrast

On white

9.67
#253C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#253C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C97
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C97#FFFFFF#000000##FFFFFF
##253C971.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253c97;
/* rgb */ color: rgb(37, 60, 151);
/* oklch */ color: oklch(39.8% 0.151 267.9);
Tailwind
colors: {
  custom: {
    50: '#7171b6',
    500: '#253c97',
    950: '#000000',
  },
}
SCSS
$custom: #253c97;
$custom-light: #7171b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253c97",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 227.895,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.15149,
    "h": 267.9
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253C97

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

Preview Lab → · Contrast checker → · Palette generator →

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