#253D94#253D94

#253D94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.146 H 267.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#253D94
RGBrgb(37, 61, 148)
HSLhsl(227, 60%, 36%)
HSVhsv(227, 75%, 58%)
CMYKcmyk(75%, 58.8%, 0%, 42%)
CIE-LABlab(29.08, 22.75, -50.57)
CIE-LCHlch(29.08, 55.45, 294.22°)
OKLaboklab(39.72% -0.0064 -0.1459)
OKLCHoklch(39.72% 0.146 267.5)
XYZxyz(7.7751, 5.8681, 28.7341)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D94 #947C25
analogous
#257594 #253D94 #452594
triadic
#253D94 #94253D #3D9425
tetradic
#253D94 #942575 #947C25 #259445
square
#253D94 #942575 #947C25 #259445
split-complementary
#253D94 #944525 #759425
monochromatic
#0D1532 #192963 #253D94 #3151C5 #5D77D6

Accessibility & contrast

On white

9.66
#253D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D94
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D94#FFFFFF#000000##FFFFFF
##253D941.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253d94;
/* rgb */ color: rgb(37, 61, 148);
/* oklch */ color: oklch(39.7% 0.146 267.5);
Tailwind
colors: {
  custom: {
    50: '#7072b4',
    500: '#253d94',
    950: '#000000',
  },
}
SCSS
$custom: #253d94;
$custom-light: #7072b4;
$custom-dark: #000000;
JSON
{
  "hex": "#253d94",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 227.027,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.14601,
    "h": 267.5
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#253D94
secondary
#BBA659
accent
#C145E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253D94

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

Preview Lab → · Contrast checker → · Palette generator →

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