#253D70#253D70

#253D70 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.093 H 263.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#253D70
RGBrgb(37, 61, 112)
HSLhsl(221, 50%, 29%)
HSVhsv(221, 67%, 44%)
CMYKcmyk(67%, 45.5%, 0%, 56.1%)
CIE-LABlab(26.45, 8.72, -32.33)
CIE-LCHlch(26.45, 33.48, 285.09°)
OKLaboklab(36.88% -0.0104 -0.0922)
OKLCHoklch(36.88% 0.093 263.5)
XYZxyz(5.3553, 4.9002, 15.9897)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D70 #705825
analogous
#256370 #253D70 #332570
triadic
#253D70 #70253D #3D7025
tetradic
#253D70 #702563 #705825 #257033
square
#253D70 #702563 #705825 #257033
split-complementary
#253D70 #703325 #637025
monochromatic
#080D17 #162442 #253D70 #34569E #4C72C4

Accessibility & contrast

On white

10.60
#253D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#253D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D70
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D70#FFFFFF#000000##FFFFFF
##253D701.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#193B6F
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253d70;
/* rgb */ color: rgb(37, 61, 112);
/* oklch */ color: oklch(36.9% 0.093 263.5);
Tailwind
colors: {
  custom: {
    50: '#687299',
    500: '#253d70',
    950: '#000000',
  },
}
SCSS
$custom: #253d70;
$custom-light: #687299;
$custom-dark: #000000;
JSON
{
  "hex": "#253d70",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 112
  },
  "hsl": {
    "h": 220.8,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36884,
    "c": 0.09282,
    "h": 263.5
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#253D70
secondary
#A3884E
accent
#AD4EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253D70

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

Preview Lab → · Contrast checker → · Palette generator →

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