#253C8E#253C8E

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

Color values

HEX#253C8E
RGBrgb(37, 60, 142)
HSLhsl(227, 59%, 35%)
HSVhsv(227, 74%, 56%)
CMYKcmyk(73.9%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.32, 21.11, -48.11)
CIE-LCHlch(28.32, 52.54, 293.69°)
OKLaboklab(39% -0.0058 -0.1387)
OKLCHoklch(39% 0.139 267.6)
XYZxyz(7.2596, 5.5773, 26.2799)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C8E #8E7725
analogous
#25718E #253C8E #42258E
triadic
#253C8E #8E253C #3C8E25
tetradic
#253C8E #8E2571 #8E7725 #258E42
square
#253C8E #8E2571 #8E7725 #258E42
split-complementary
#253C8E #8E4225 #718E25
monochromatic
#0C132D #18275D #253C8E #3251BF #5A74D4

Accessibility & contrast

On white

9.93
#253C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253C8E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C8E#FFFFFF#000000##FFFFFF
##253C8E1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253c8e;
/* rgb */ color: rgb(37, 60, 142);
/* oklch */ color: oklch(39.0% 0.139 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f71b0',
    500: '#253c8e',
    950: '#000000',
  },
}
SCSS
$custom: #253c8e;
$custom-light: #6f71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#253c8e",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 226.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38996,
    "c": 0.13878,
    "h": 267.6
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#253C8E
secondary
#B9A356
accent
#C046E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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