#253A97#253A97

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

Color values

HEX#253A97
RGBrgb(37, 58, 151)
HSLhsl(229, 61%, 37%)
HSVhsv(229, 75%, 59%)
CMYKcmyk(75.5%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.52, 25.94, -53.31)
CIE-LCHlch(28.52, 59.29, 295.95°)
OKLaboklab(39.38% -0.0041 -0.154)
OKLCHoklch(39.38% 0.154 268.5)
XYZxyz(7.8600, 5.6530, 29.9490)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A97 #978225
analogous
#257397 #253A97 #492597
triadic
#253A97 #97253A #3A9725
tetradic
#253A97 #972573 #978225 #259749
square
#253A97 #972573 #978225 #259749
split-complementary
#253A97 #974925 #739725
monochromatic
#0D1435 #192766 #253A97 #314DC8 #5F75D8

Accessibility & contrast

On white

9.86
#253A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#253A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A97
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A97#FFFFFF#000000##FFFFFF
##253A971.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253a97;
/* rgb */ color: rgb(37, 58, 151);
/* oklch */ color: oklch(39.4% 0.154 268.5);
Tailwind
colors: {
  custom: {
    50: '#716fb6',
    500: '#253a97',
    950: '#000000',
  },
}
SCSS
$custom: #253a97;
$custom-light: #716fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#253a97",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 228.947,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.15402,
    "h": 268.5
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#253A97
secondary
#BDAB5B
accent
#C644E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253A97

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

Preview Lab → · Contrast checker → · Palette generator →

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