#253C8C#253C8C

#253C8C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.136 H 267.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#253C8C
RGBrgb(37, 60, 140)
HSLhsl(227, 58%, 35%)
HSVhsv(227, 74%, 55%)
CMYKcmyk(73.6%, 57.1%, 0%, 45.1%)
CIE-LABlab(28.16, 20.33, -47.13)
CIE-LCHlch(28.16, 51.33, 293.33°)
OKLaboklab(38.83% -0.006 -0.1358)
OKLCHoklch(38.83% 0.136 267.5)
XYZxyz(7.1108, 5.5177, 25.4961)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C8C #8C7525
analogous
#25708C #253C8C #42258C
triadic
#253C8C #8C253C #3C8C25
tetradic
#253C8C #8C2570 #8C7525 #258C42
square
#253C8C #8C2570 #8C7525 #258C42
split-complementary
#253C8C #8C4225 #708C25
monochromatic
#0B132B #18275C #253C8C #3251BC #5874D3

Accessibility & contrast

On white

9.98
#253C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#253C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C8C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C8C#FFFFFF#000000##FFFFFF
##253C8C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253c8c;
/* rgb */ color: rgb(37, 60, 140);
/* oklch */ color: oklch(38.8% 0.136 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e71ae',
    500: '#253c8c',
    950: '#000000',
  },
}
SCSS
$custom: #253c8c;
$custom-light: #6e71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#253c8c",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 226.602,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.13592,
    "h": 267.5
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#253C8C
secondary
#B8A255
accent
#BF46E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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