#253D80#253D80

#253D80 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.117 H 266.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#253D80
RGBrgb(37, 61, 128)
HSLhsl(224, 55%, 32%)
HSVhsv(224, 71%, 50%)
CMYKcmyk(71.1%, 52.3%, 0%, 49.8%)
CIE-LABlab(27.54, 14.95, -40.67)
CIE-LCHlch(27.54, 43.34, 290.19°)
OKLaboklab(38.07% -0.0079 -0.1168)
OKLCHoklch(38.07% 0.117 266.1)
XYZxyz(6.3266, 5.2887, 21.1053)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D80 #806825
analogous
#256B80 #253D80 #3B2580
triadic
#253D80 #80253D #3D8025
tetradic
#253D80 #80256B #806825 #25803B
square
#253D80 #80256B #806825 #25803B
split-complementary
#253D80 #803B25 #6B8025
monochromatic
#0A1021 #172651 #253D80 #3354AF #5273CD

Accessibility & contrast

On white

10.21
#253D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#253D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D80
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D80#FFFFFF#000000##FFFFFF
##253D801.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154582
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253d80;
/* rgb */ color: rgb(37, 61, 128);
/* oklch */ color: oklch(38.1% 0.117 266.1);
Tailwind
colors: {
  custom: {
    50: '#6b72a5',
    500: '#253d80',
    950: '#000000',
  },
}
SCSS
$custom: #253d80;
$custom-light: #6b72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#253d80",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 224.176,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38072,
    "c": 0.11704,
    "h": 266.1
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#253D80
secondary
#B19750
accent
#B749DE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253D80

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

Preview Lab → · Contrast checker → · Palette generator →

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