#253C88#253C88

#253C88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.130 H 267.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#253C88
RGBrgb(37, 60, 136)
HSLhsl(226, 57%, 34%)
HSVhsv(226, 73%, 53%)
CMYKcmyk(72.8%, 55.9%, 0%, 46.7%)
CIE-LABlab(27.85, 18.77, -45.16)
CIE-LCHlch(27.85, 48.91, 292.57°)
OKLaboklab(38.5% -0.0062 -0.13)
OKLCHoklch(38.5% 0.13 267.3)
XYZxyz(6.8212, 5.4019, 23.9710)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C88 #887125
analogous
#256E88 #253C88 #402588
triadic
#253C88 #88253C #3C8825
tetradic
#253C88 #88256E #887125 #258840
square
#253C88 #88256E #887125 #258840
split-complementary
#253C88 #884025 #6E8825
monochromatic
#0B1228 #182758 #253C88 #3251B8 #5673D1

Accessibility & contrast

On white

10.09
#253C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#253C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C88
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C88#FFFFFF#000000##FFFFFF
##253C881.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253c88;
/* rgb */ color: rgb(37, 60, 136);
/* oklch */ color: oklch(38.5% 0.130 267.3);
Tailwind
colors: {
  custom: {
    50: '#6d71ab',
    500: '#253c88',
    950: '#000000',
  },
}
SCSS
$custom: #253c88;
$custom-light: #6d71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253c88",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 136
  },
  "hsl": {
    "h": 226.061,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.13014,
    "h": 267.3
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#253C88
secondary
#B69F53
accent
#BD47E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253C88

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

Preview Lab → · Contrast checker → · Palette generator →

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