#253F88#253F88

#253F88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.126 H 266.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#253F88
RGBrgb(37, 63, 136)
HSLhsl(224, 57%, 34%)
HSVhsv(224, 73%, 53%)
CMYKcmyk(72.8%, 53.7%, 0%, 46.7%)
CIE-LABlab(28.71, 16.70, -43.77)
CIE-LCHlch(28.71, 46.85, 290.89°)
OKLaboklab(39.14% -0.0089 -0.1258)
OKLCHoklch(39.14% 0.126 266)
XYZxyz(6.9828, 5.7252, 24.0248)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F88 #886E25
analogous
#257188 #253F88 #3D2588
triadic
#253F88 #88253F #3F8825
tetradic
#253F88 #882571 #886E25 #25883D
square
#253F88 #882571 #886E25 #25883D
split-complementary
#253F88 #883D25 #718825
monochromatic
#0B1228 #182958 #253F88 #3255B8 #5677D1

Accessibility & contrast

On white

9.79
#253F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253F88
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F88#FFFFFF#000000##FFFFFF
##253F881.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253f88;
/* rgb */ color: rgb(37, 63, 136);
/* oklch */ color: oklch(39.1% 0.126 266.0);
Tailwind
colors: {
  custom: {
    50: '#6d73ab',
    500: '#253f88',
    950: '#000000',
  },
}
SCSS
$custom: #253f88;
$custom-light: #6d73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253f88",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 224.242,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39144,
    "c": 0.12616,
    "h": 266
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#253F88
secondary
#B69C53
accent
#B847E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253F88

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

Preview Lab → · Contrast checker → · Palette generator →

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