#253C80#253C80

#253C80 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.118 H 266.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#253C80
RGBrgb(37, 60, 128)
HSLhsl(225, 55%, 32%)
HSVhsv(225, 71%, 50%)
CMYKcmyk(71.1%, 53.1%, 0%, 49.8%)
CIE-LABlab(27.25, 15.65, -41.15)
CIE-LCHlch(27.25, 44.02, 290.82°)
OKLaboklab(37.85% -0.0069 -0.1182)
OKLCHoklch(37.85% 0.118 266.6)
XYZxyz(6.2737, 5.1829, 21.0877)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C80 #806925
analogous
#256A80 #253C80 #3B2580
triadic
#253C80 #80253C #3C8025
tetradic
#253C80 #80256A #806925 #25803B
square
#253C80 #80256A #806925 #25803B
split-complementary
#253C80 #803B25 #6A8025
monochromatic
#0A0F21 #172651 #253C80 #3352AF #5271CD

Accessibility & contrast

On white

10.31
#253C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#253C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C80
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C80#FFFFFF#000000##FFFFFF
##253C801.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124582
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253c80;
/* rgb */ color: rgb(37, 60, 128);
/* oklch */ color: oklch(37.9% 0.118 266.6);
Tailwind
colors: {
  custom: {
    50: '#6b71a5',
    500: '#253c80',
    950: '#000000',
  },
}
SCSS
$custom: #253c80;
$custom-light: #6b71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#253c80",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 128
  },
  "hsl": {
    "h": 224.835,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.11838,
    "h": 266.6
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#253C80
secondary
#B19950
accent
#B949DE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253C80

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

Preview Lab → · Contrast checker → · Palette generator →

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