#253D88#253D88

#253D88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.129 H 266.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#253D88
RGBrgb(37, 61, 136)
HSLhsl(225, 57%, 34%)
HSVhsv(225, 73%, 53%)
CMYKcmyk(72.8%, 55.1%, 0%, 46.7%)
CIE-LABlab(28.13, 18.08, -44.70)
CIE-LCHlch(28.13, 48.22, 292.03°)
OKLaboklab(38.71% -0.0071 -0.1286)
OKLCHoklch(38.71% 0.129 266.8)
XYZxyz(6.8741, 5.5077, 23.9886)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D88 #887025
analogous
#256F88 #253D88 #3F2588
triadic
#253D88 #88253D #3D8825
tetradic
#253D88 #88256F #887025 #25883F
square
#253D88 #88256F #887025 #25883F
split-complementary
#253D88 #883F25 #6F8825
monochromatic
#0B1228 #182758 #253D88 #3253B8 #5674D1

Accessibility & contrast

On white

9.99
#253D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#253D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D88
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D88#FFFFFF#000000##FFFFFF
##253D881.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253d88;
/* rgb */ color: rgb(37, 61, 136);
/* oklch */ color: oklch(38.7% 0.129 266.8);
Tailwind
colors: {
  custom: {
    50: '#6d72ab',
    500: '#253d88',
    950: '#000000',
  },
}
SCSS
$custom: #253d88;
$custom-light: #6d72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253d88",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 225.455,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3871,
    "c": 0.12882,
    "h": 266.8
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#253D88
secondary
#B69E53
accent
#BB47E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253D88

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

Preview Lab → · Contrast checker → · Palette generator →

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