#252570#252570

#252570 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.126 H 276.5°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#252570
RGBrgb(37, 37, 112)
HSLhsl(240, 50%, 29%)
HSVhsv(240, 67%, 44%)
CMYKcmyk(67%, 67%, 0%, 56.1%)
CIE-LABlab(19.58, 25.46, -43.43)
CIE-LCHlch(19.58, 50.34, 300.38°)
OKLaboklab(31.72% 0.0142 -0.1252)
OKLCHoklch(31.72% 0.126 276.5)
XYZxyz(4.3482, 2.8859, 15.6540)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252570 #707025
analogous
#254B70 #252570 #4B2570
triadic
#252570 #702525 #257025
tetradic
#252570 #70254B #707025 #25704B
square
#252570 #70254B #707025 #25704B
split-complementary
#252570 #704B25 #4B7025
monochromatic
#080817 #161642 #252570 #34349E #4C4CC4

Accessibility & contrast

On white

13.31
#252570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#252570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252570
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252570#FFFFFF#000000##FFFFFF
##2525701.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252570;
/* rgb */ color: rgb(37, 37, 112);
/* oklch */ color: oklch(31.7% 0.126 276.5);
Tailwind
colors: {
  custom: {
    50: '#6a5f9a',
    500: '#252570',
    950: '#000000',
  },
}
SCSS
$custom: #252570;
$custom-light: #6a5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#252570",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 112
  },
  "hsl": {
    "h": 240,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3172,
    "c": 0.12596,
    "h": 276.5
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#252570
secondary
#A3A34E
accent
#DA4EDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252570

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

Preview Lab → · Contrast checker → · Palette generator →

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