#253C94#253C94

#253C94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.147 H 267.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#253C94
RGBrgb(37, 60, 148)
HSLhsl(228, 60%, 36%)
HSVhsv(228, 75%, 58%)
CMYKcmyk(75%, 59.5%, 0%, 42%)
CIE-LABlab(28.80, 23.43, -51.01)
CIE-LCHlch(28.80, 56.13, 294.67°)
OKLaboklab(39.51% -0.0056 -0.1472)
OKLCHoklch(39.51% 0.147 267.8)
XYZxyz(7.7222, 5.7623, 28.7165)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C94 #947D25
analogous
#257494 #253C94 #462594
triadic
#253C94 #94253C #3C9425
tetradic
#253C94 #942574 #947D25 #259446
square
#253C94 #942574 #947D25 #259446
split-complementary
#253C94 #944625 #749425
monochromatic
#0D1432 #192863 #253C94 #3150C5 #5D76D6

Accessibility & contrast

On white

9.76
#253C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#253C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C94
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C94#FFFFFF#000000##FFFFFF
##253C941.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253c94;
/* rgb */ color: rgb(37, 60, 148);
/* oklch */ color: oklch(39.5% 0.147 267.8);
Tailwind
colors: {
  custom: {
    50: '#7071b4',
    500: '#253c94',
    950: '#000000',
  },
}
SCSS
$custom: #253c94;
$custom-light: #7071b4;
$custom-dark: #000000;
JSON
{
  "hex": "#253c94",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 227.568,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.14729,
    "h": 267.8
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#253C94
secondary
#BBA759
accent
#C245E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253C94

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

Preview Lab → · Contrast checker → · Palette generator →

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