#252485#252485

#252485 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.156 H 274.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#252485
RGBrgb(37, 36, 133)
HSLhsl(241, 57%, 33%)
HSVhsv(241, 73%, 52%)
CMYKcmyk(72.2%, 72.9%, 0%, 47.8%)
CIE-LABlab(21.39, 33.71, -53.84)
CIE-LCHlch(21.39, 63.53, 302.05°)
OKLaboklab(33.65% 0.0123 -0.1556)
OKLCHoklch(33.65% 0.156 274.5)
XYZxyz(5.6261, 3.3480, 22.5355)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252485 #848524
analogous
#245385 #252485 #562485
triadic
#252485 #852524 #248525
tetradic
#252485 #852453 #848524 #248556
square
#252485 #852453 #848524 #248556
split-complementary
#252485 #855624 #538524
monochromatic
#0A0A25 #181755 #252485 #3231B5 #5453D0

Accessibility & contrast

On white

12.58
#252485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#252485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252485
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252485#FFFFFF#000000##FFFFFF
##2524851.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252485;
/* rgb */ color: rgb(37, 36, 133);
/* oklch */ color: oklch(33.7% 0.156 274.5);
Tailwind
colors: {
  custom: {
    50: '#6f60aa',
    500: '#252485',
    950: '#000000',
  },
}
SCSS
$custom: #252485;
$custom-light: #6f60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#252485",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 240.619,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33651,
    "c": 0.15613,
    "h": 274.5
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#252485
secondary
#B3B450
accent
#E147DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252485

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

Preview Lab → · Contrast checker → · Palette generator →

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