#253A88#253A88

#253A88 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.133 H 268.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#253A88
RGBrgb(37, 58, 136)
HSLhsl(227, 57%, 34%)
HSVhsv(227, 73%, 53%)
CMYKcmyk(72.8%, 57.4%, 0%, 46.7%)
CIE-LABlab(27.29, 20.15, -46.07)
CIE-LCHlch(27.29, 50.29, 293.62°)
OKLaboklab(38.07% -0.0045 -0.1327)
OKLCHoklch(38.07% 0.133 268.1)
XYZxyz(6.7184, 5.1963, 23.9367)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A88 #887325
analogous
#256C88 #253A88 #422588
triadic
#253A88 #88253A #3A8825
tetradic
#253A88 #88256C #887325 #258842
square
#253A88 #88256C #887325 #258842
split-complementary
#253A88 #884225 #6C8825
monochromatic
#0B1128 #182558 #253A88 #324FB8 #5670D1

Accessibility & contrast

On white

10.30
#253A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#253A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A88
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A88#FFFFFF#000000##FFFFFF
##253A881.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253a88;
/* rgb */ color: rgb(37, 58, 136);
/* oklch */ color: oklch(38.1% 0.133 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d6fab',
    500: '#253a88',
    950: '#000000',
  },
}
SCSS
$custom: #253a88;
$custom-light: #6d6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#253a88",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 227.273,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38071,
    "c": 0.13279,
    "h": 268.1
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#253A88
secondary
#B6A153
accent
#C047E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253A88

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

Preview Lab → · Contrast checker → · Palette generator →

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