#253C7A#253C7A

#253C7A is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.109 H 266.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#253C7A
RGBrgb(37, 60, 122)
HSLhsl(224, 53%, 31%)
HSVhsv(224, 70%, 48%)
CMYKcmyk(69.7%, 50.8%, 0%, 52.2%)
CIE-LABlab(26.82, 13.30, -38.07)
CIE-LCHlch(26.82, 40.33, 289.26°)
OKLaboklab(37.39% -0.0077 -0.1091)
OKLCHoklch(37.39% 0.109 266)
XYZxyz(5.8904, 5.0296, 19.0690)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C7A #7A6325
analogous
#25667A #253C7A #38257A
triadic
#253C7A #7A253C #3C7A25
tetradic
#253C7A #7A2566 #7A6325 #257A38
square
#253C7A #7A2566 #7A6325 #257A38
split-complementary
#253C7A #7A3825 #667A25
monochromatic
#090E1C #17254B #253C7A #3353A9 #5071CA

Accessibility & contrast

On white

10.47
#253C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253C7A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C7A#FFFFFF#000000##FFFFFF
##253C7A1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437C
Deuteranopia (green-blind)
#043C79
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253c7a;
/* rgb */ color: rgb(37, 60, 122);
/* oklch */ color: oklch(37.4% 0.109 266.0);
Tailwind
colors: {
  custom: {
    50: '#6a71a1',
    500: '#253c7a',
    950: '#000000',
  },
}
SCSS
$custom: #253c7a;
$custom-light: #6a71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#253c7a",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 223.765,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37385,
    "c": 0.1094,
    "h": 266
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#253C7A
secondary
#AC934E
accent
#B54BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #253C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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