#252175#252175

#252175 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.138 H 277.0°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#252175
RGBrgb(37, 33, 117)
HSLhsl(243, 56%, 29%)
HSVhsv(243, 72%, 46%)
CMYKcmyk(68.4%, 71.8%, 0%, 54.1%)
CIE-LABlab(19.08, 29.91, -47.47)
CIE-LCHlch(19.08, 56.11, 302.21°)
OKLaboklab(31.5% 0.0169 -0.137)
OKLCHoklch(31.5% 0.138 277)
XYZxyz(4.5166, 2.7650, 17.1219)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252175 #717521
analogous
#214775 #252175 #4F2175
triadic
#252175 #752521 #217525
tetradic
#252175 #752147 #717521 #21754F
square
#252175 #752147 #717521 #21754F
split-complementary
#252175 #754F21 #477521
monochromatic
#080718 #161445 #252175 #342EA5 #4C46CB

Accessibility & contrast

On white

13.52
#252175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#252175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252175
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252175#FFFFFF#000000##FFFFFF
##2521751.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #252175;
/* rgb */ color: rgb(37, 33, 117);
/* oklch */ color: oklch(31.5% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#6b5d9e',
    500: '#252175',
    950: '#000000',
  },
}
SCSS
$custom: #252175;
$custom-light: #6b5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#252175",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 242.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31501,
    "c": 0.13807,
    "h": 277
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#252175
secondary
#A4A84A
accent
#DF49D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252175

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

Preview Lab → · Contrast checker → · Palette generator →

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