#253E7C#253E7C

#253E7C is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.110 H 265.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#253E7C
RGBrgb(37, 62, 124)
HSLhsl(223, 54%, 32%)
HSVhsv(223, 70%, 49%)
CMYKcmyk(70.2%, 50%, 0%, 51.4%)
CIE-LABlab(27.55, 12.70, -38.15)
CIE-LCHlch(27.55, 40.20, 288.41°)
OKLaboklab(37.99% -0.0094 -0.1093)
OKLCHoklch(37.99% 0.11 265.1)
XYZxyz(6.1224, 5.2932, 19.7639)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E7C #7C6325
analogous
#256A7C #253E7C #38257C
triadic
#253E7C #7C253E #3E7C25
tetradic
#253E7C #7C256A #7C6325 #257C38
square
#253E7C #7C256A #7C6325 #257C38
split-complementary
#253E7C #7C3825 #6A7C25
monochromatic
#090F1E #17264D #253E7C #3356AB #5074CB

Accessibility & contrast

On white

10.20
#253E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253E7C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E7C#FFFFFF#000000##FFFFFF
##253E7C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#083D7B
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253e7c;
/* rgb */ color: rgb(37, 62, 124);
/* oklch */ color: oklch(38.0% 0.110 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a72a2',
    500: '#253e7c',
    950: '#000000',
  },
}
SCSS
$custom: #253e7c;
$custom-light: #6a72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253e7c",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 222.759,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37991,
    "c": 0.10973,
    "h": 265.1
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#253E7C
secondary
#AE934F
accent
#B34ADD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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