#253C74#253C74

#253C74 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.100 H 265.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#253C74
RGBrgb(37, 60, 116)
HSLhsl(223, 52%, 30%)
HSVhsv(223, 68%, 45%)
CMYKcmyk(68.1%, 48.3%, 0%, 54.5%)
CIE-LABlab(26.41, 10.96, -34.94)
CIE-LCHlch(26.41, 36.62, 287.42°)
OKLaboklab(36.94% -0.0086 -0.0999)
OKLCHoklch(36.94% 0.1 265.1)
XYZxyz(5.5301, 4.8855, 17.1712)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C74 #745D25
analogous
#256374 #253C74 #362574
triadic
#253C74 #74253C #3C7425
tetradic
#253C74 #742563 #745D25 #257436
square
#253C74 #742563 #745D25 #257436
split-complementary
#253C74 #743625 #637425
monochromatic
#070C17 #162446 #253C74 #3454A2 #4D70C6

Accessibility & contrast

On white

10.62
#253C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#253C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C74
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C74#FFFFFF#000000##FFFFFF
##253C741.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#123B73
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253c74;
/* rgb */ color: rgb(37, 60, 116);
/* oklch */ color: oklch(36.9% 0.100 265.1);
Tailwind
colors: {
  custom: {
    50: '#69719c',
    500: '#253c74',
    950: '#000000',
  },
}
SCSS
$custom: #253c74;
$custom-light: #69719c;
$custom-dark: #000000;
JSON
{
  "hex": "#253c74",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 116
  },
  "hsl": {
    "h": 222.532,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.10029,
    "h": 265.1
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

primary
#253C74
secondary
#A78D4E
accent
#B24DDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253C74

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

Preview Lab → · Contrast checker → · Palette generator →

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