#253C7C#253C7C

#253C7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.112 H 266.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#253C7C
RGBrgb(37, 60, 124)
HSLhsl(224, 54%, 32%)
HSVhsv(224, 70%, 49%)
CMYKcmyk(70.2%, 51.6%, 0%, 51.4%)
CIE-LABlab(26.96, 14.08, -39.10)
CIE-LCHlch(26.96, 41.56, 289.81°)
OKLaboklab(37.54% -0.0074 -0.1122)
OKLCHoklch(37.54% 0.112 266.2)
XYZxyz(6.0156, 5.0797, 19.7283)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C7C #7C6525
analogous
#25687C #253C7C #3A257C
triadic
#253C7C #7C253C #3C7C25
tetradic
#253C7C #7C2568 #7C6525 #257C3A
square
#253C7C #7C2568 #7C6525 #257C3A
split-complementary
#253C7C #7C3A25 #687C25
monochromatic
#090E1E #17254D #253C7C #3353AB #5071CB

Accessibility & contrast

On white

10.42
#253C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#253C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C7C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C7C#FFFFFF#000000##FFFFFF
##253C7C1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253c7c;
/* rgb */ color: rgb(37, 60, 124);
/* oklch */ color: oklch(37.5% 0.112 266.2);
Tailwind
colors: {
  custom: {
    50: '#6b71a2',
    500: '#253c7c',
    950: '#000000',
  },
}
SCSS
$custom: #253c7c;
$custom-light: #6b71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253c7c",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 224.138,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37538,
    "c": 0.1124,
    "h": 266.2
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#253C7C
secondary
#AE954F
accent
#B74ADD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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