#252385#252385

#252385 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.157 H 274.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#252385
RGBrgb(37, 35, 133)
HSLhsl(241, 58%, 33%)
HSVhsv(241, 74%, 52%)
CMYKcmyk(72.2%, 73.7%, 0%, 47.8%)
CIE-LABlab(21.16, 34.33, -54.21)
CIE-LCHlch(21.16, 64.17, 302.34°)
OKLaboklab(33.49% 0.0129 -0.1567)
OKLCHoklch(33.49% 0.157 274.7)
XYZxyz(5.5962, 3.2883, 22.5255)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252385 #838523
analogous
#235285 #252385 #562385
triadic
#252385 #852523 #238525
tetradic
#252385 #852352 #838523 #238556
square
#252385 #852352 #838523 #238556
split-complementary
#252385 #855623 #528523
monochromatic
#0A0924 #181655 #252385 #3230B5 #5451D1

Accessibility & contrast

On white

12.67
#252385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#252385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252385
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252385#FFFFFF#000000##FFFFFF
##2523851.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252385;
/* rgb */ color: rgb(37, 35, 133);
/* oklch */ color: oklch(33.5% 0.157 274.7);
Tailwind
colors: {
  custom: {
    50: '#6f5faa',
    500: '#252385',
    950: '#000000',
  },
}
SCSS
$custom: #252385;
$custom-light: #6f5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#252385",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 241.224,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33491,
    "c": 0.15725,
    "h": 274.7
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#252385
secondary
#B3B54F
accent
#E246DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252385

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

Preview Lab → · Contrast checker → · Palette generator →

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