#253C8F#253C8F

#253C8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.140 H 267.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#253C8F
RGBrgb(37, 60, 143)
HSLhsl(227, 59%, 35%)
HSVhsv(227, 74%, 56%)
CMYKcmyk(74.1%, 58%, 0%, 43.9%)
CIE-LABlab(28.40, 21.50, -48.60)
CIE-LCHlch(28.40, 53.14, 293.86°)
OKLaboklab(39.08% -0.0058 -0.1401)
OKLCHoklch(39.08% 0.14 267.6)
XYZxyz(7.3350, 5.6074, 26.6770)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C8F #8F7825
analogous
#25718F #253C8F #43258F
triadic
#253C8F #8F253C #3C8F25
tetradic
#253C8F #8F2571 #8F7825 #258F43
square
#253C8F #8F2571 #8F7825 #258F43
split-complementary
#253C8F #8F4325 #718F25
monochromatic
#0C132E #18285E #253C8F #3250C0 #5A75D4

Accessibility & contrast

On white

9.90
#253C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#253C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C8F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C8F#FFFFFF#000000##FFFFFF
##253C8F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253c8f;
/* rgb */ color: rgb(37, 60, 143);
/* oklch */ color: oklch(39.1% 0.140 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f71b0',
    500: '#253c8f',
    950: '#000000',
  },
}
SCSS
$custom: #253c8f;
$custom-light: #6f71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#253c8f",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 226.981,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39081,
    "c": 0.14021,
    "h": 267.6
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#253C8F
secondary
#B9A457
accent
#C046E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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