#252073#252073

#252073 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.137 H 277.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#252073
RGBrgb(37, 32, 115)
HSLhsl(244, 56%, 29%)
HSVhsv(244, 72%, 45%)
CMYKcmyk(67.8%, 72.2%, 0%, 54.9%)
CIE-LABlab(18.64, 29.84, -46.90)
CIE-LCHlch(18.64, 55.58, 302.47°)
OKLaboklab(31.13% 0.018 -0.1353)
OKLCHoklch(31.13% 0.137 277.6)
XYZxyz(4.3730, 2.6638, 16.5000)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252073 #6E7320
analogous
#204573 #252073 #4F2073
triadic
#252073 #732520 #207325
tetradic
#252073 #732045 #6E7320 #20734F
square
#252073 #732045 #6E7320 #20734F
split-complementary
#252073 #734F20 #457320
monochromatic
#080718 #161343 #252073 #342DA3 #4B43CB

Accessibility & contrast

On white

13.70
#252073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#252073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252073
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252073#FFFFFF#000000##FFFFFF
##2520731.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #252073;
/* rgb */ color: rgb(37, 32, 115);
/* oklch */ color: oklch(31.1% 0.137 277.6);
Tailwind
colors: {
  custom: {
    50: '#6b5c9c',
    500: '#252073',
    950: '#000000',
  },
}
SCSS
$custom: #252073;
$custom-light: #6b5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#252073",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 243.614,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31128,
    "c": 0.13654,
    "h": 277.6
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#252073
secondary
#A1A748
accent
#E048D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252073

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

Preview Lab → · Contrast checker → · Palette generator →

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