#253C8A#253C8A

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

Color values

HEX#253C8A
RGBrgb(37, 60, 138)
HSLhsl(226, 58%, 34%)
HSVhsv(226, 73%, 54%)
CMYKcmyk(73.2%, 56.5%, 0%, 45.9%)
CIE-LABlab(28.01, 19.55, -46.15)
CIE-LCHlch(28.01, 50.12, 292.96°)
OKLaboklab(38.66% -0.0061 -0.1329)
OKLCHoklch(38.66% 0.133 267.4)
XYZxyz(6.9647, 5.4593, 24.7265)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C8A #8A7325
analogous
#256F8A #253C8A #41258A
triadic
#253C8A #8A253C #3C8A25
tetradic
#253C8A #8A256F #8A7325 #258A41
square
#253C8A #8A256F #8A7325 #258A41
split-complementary
#253C8A #8A4125 #6F8A25
monochromatic
#0B1229 #18275A #253C8A #3251BA #5773D2

Accessibility & contrast

On white

10.04
#253C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C8A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C8A#FFFFFF#000000##FFFFFF
##253C8A1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253c8a;
/* rgb */ color: rgb(37, 60, 138);
/* oklch */ color: oklch(38.7% 0.133 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e71ad',
    500: '#253c8a',
    950: '#000000',
  },
}
SCSS
$custom: #253c8a;
$custom-light: #6e71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#253c8a",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 226.337,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38661,
    "c": 0.13304,
    "h": 267.4
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#253C8A
secondary
#B7A054
accent
#BE47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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