#252985#252985

#252985 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.150 H 273.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#252985
RGBrgb(37, 41, 133)
HSLhsl(238, 56%, 33%)
HSVhsv(238, 72%, 52%)
CMYKcmyk(72.2%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.56, 30.52, -51.92)
CIE-LCHlch(22.56, 60.23, 300.45°)
OKLaboklab(34.49% 0.0089 -0.15)
OKLCHoklch(34.49% 0.15 273.4)
XYZxyz(5.7881, 3.6721, 22.5895)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252985 #858125
analogous
#255985 #252985 #512585
triadic
#252985 #852529 #298525
tetradic
#252985 #852559 #858125 #258551
square
#252985 #852559 #858125 #258551
split-complementary
#252985 #855125 #598525
monochromatic
#0A0B25 #181A55 #252985 #3238B5 #555AD0

Accessibility & contrast

On white

12.11
#252985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#252985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252985
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252985#FFFFFF#000000##FFFFFF
##2529851.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252985;
/* rgb */ color: rgb(37, 41, 133);
/* oklch */ color: oklch(34.5% 0.150 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e63a9',
    500: '#252985',
    950: '#000000',
  },
}
SCSS
$custom: #252985;
$custom-light: #6e63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252985",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 237.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34494,
    "c": 0.1503,
    "h": 273.4
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#252985
secondary
#B4B052
accent
#D948E0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252985

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

Preview Lab → · Contrast checker → · Palette generator →

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