#253C7B#253C7B

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

Color values

HEX#253C7B
RGBrgb(37, 60, 123)
HSLhsl(224, 54%, 31%)
HSVhsv(224, 70%, 48%)
CMYKcmyk(69.9%, 51.2%, 0%, 51.8%)
CIE-LABlab(26.89, 13.69, -38.59)
CIE-LCHlch(26.89, 40.95, 289.54°)
OKLaboklab(37.46% -0.0075 -0.1106)
OKLCHoklch(37.46% 0.111 266.1)
XYZxyz(5.9527, 5.0545, 19.3970)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C7B #7B6425
analogous
#25677B #253C7B #39257B
triadic
#253C7B #7B253C #3C7B25
tetradic
#253C7B #7B2567 #7B6425 #257B39
square
#253C7B #7B2567 #7B6425 #257B39
split-complementary
#253C7B #7B3925 #677B25
monochromatic
#090E1D #17254C #253C7B #3353AA #5071CA

Accessibility & contrast

On white

10.44
#253C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#253C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C7B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C7B#FFFFFF#000000##FFFFFF
##253C7B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#023C7A
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253c7b;
/* rgb */ color: rgb(37, 60, 123);
/* oklch */ color: oklch(37.5% 0.111 266.1);
Tailwind
colors: {
  custom: {
    50: '#6a71a2',
    500: '#253c7b',
    950: '#000000',
  },
}
SCSS
$custom: #253c7b;
$custom-light: #6a71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253c7b",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 223.953,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37461,
    "c": 0.11091,
    "h": 266.1
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#253C7B
secondary
#AD944F
accent
#B64BDD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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