#252599#252599

#252599 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.181 H 272.6°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#252599
RGBrgb(37, 37, 153)
HSLhsl(240, 61%, 37%)
HSVhsv(240, 76%, 60%)
CMYKcmyk(75.8%, 75.8%, 0%, 40%)
CIE-LABlab(23.72, 40.07, -62.41)
CIE-LCHlch(23.72, 74.17, 302.70°)
OKLaboklab(35.95% 0.0082 -0.1806)
OKLCHoklch(35.95% 0.181 272.6)
XYZxyz(7.1724, 4.0156, 30.5279)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252599 #999925
analogous
#255F99 #252599 #5F2599
triadic
#252599 #992525 #259925
tetradic
#252599 #99255F #999925 #25995F
square
#252599 #99255F #999925 #25995F
split-complementary
#252599 #995F25 #5F9925
monochromatic
#0D0D36 #191968 #252599 #3131CA #6060D9

Accessibility & contrast

On white

11.65
#252599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#252599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252599
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252599#FFFFFF#000000##FFFFFF
##2525991.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252599;
/* rgb */ color: rgb(37, 37, 153);
/* oklch */ color: oklch(35.9% 0.181 272.6);
Tailwind
colors: {
  custom: {
    50: '#7461b8',
    500: '#252599',
    950: '#000000',
  },
}
SCSS
$custom: #252599;
$custom-light: #7461b8;
$custom-dark: #000000;
JSON
{
  "hex": "#252599",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3595,
    "c": 0.18081,
    "h": 272.6
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#252599
secondary
#BEBE5C
accent
#E444E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #252599

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

Preview Lab → · Contrast checker → · Palette generator →

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