#253370#253370

#253370 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.107 H 270.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#253370
RGBrgb(37, 51, 112)
HSLhsl(229, 50%, 29%)
HSVhsv(229, 67%, 44%)
CMYKcmyk(67%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.44, 15.71, -37.16)
CIE-LCHlch(23.44, 40.35, 292.92°)
OKLaboklab(34.59% 0.0004 -0.1066)
OKLCHoklch(34.59% 0.107 270.2)
XYZxyz(4.8704, 3.9304, 15.8281)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253370 #706225
analogous
#255970 #253370 #3D2570
triadic
#253370 #702533 #337025
tetradic
#253370 #702559 #706225 #25703D
square
#253370 #702559 #706225 #25703D
split-complementary
#253370 #703D25 #597025
monochromatic
#080A17 #161E42 #253370 #34489E #4C62C4

Accessibility & contrast

On white

11.76
#253370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#253370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253370
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253370#FFFFFF#000000##FFFFFF
##2533701.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253370;
/* rgb */ color: rgb(37, 51, 112);
/* oklch */ color: oklch(34.6% 0.107 270.2);
Tailwind
colors: {
  custom: {
    50: '#686a99',
    500: '#253370',
    950: '#000000',
  },
}
SCSS
$custom: #253370;
$custom-light: #686a99;
$custom-dark: #000000;
JSON
{
  "hex": "#253370",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 228.8,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.10659,
    "h": 270.2
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#253370
secondary
#A3934E
accent
#C04EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253370

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

Preview Lab → · Contrast checker → · Palette generator →

#253370 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva