#252697#252697

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

Color values

HEX#252697
RGBrgb(37, 38, 151)
HSLhsl(239, 61%, 37%)
HSVhsv(239, 75%, 59%)
CMYKcmyk(75.5%, 74.8%, 0%, 40.8%)
CIE-LABlab(23.71, 38.80, -61.20)
CIE-LCHlch(23.71, 72.46, 302.37°)
OKLaboklab(35.88% 0.0081 -0.1771)
OKLCHoklch(35.88% 0.177 272.6)
XYZxyz(7.0401, 4.0132, 29.6757)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252697 #979625
analogous
#255F97 #252697 #5D2597
triadic
#252697 #972526 #269725
tetradic
#252697 #97255F #979625 #25975D
square
#252697 #97255F #979625 #25975D
split-complementary
#252697 #975D25 #5F9725
monochromatic
#0D0D35 #191A66 #252697 #3132C8 #5F60D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252697#FFFFFF#000000##FFFFFF
##2526971.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)
#003E9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252697;
/* rgb */ color: rgb(37, 38, 151);
/* oklch */ color: oklch(35.9% 0.177 272.6);
Tailwind
colors: {
  custom: {
    50: '#7362b7',
    500: '#252697',
    950: '#000000',
  },
}
SCSS
$custom: #252697;
$custom-light: #7362b7;
$custom-dark: #000000;
JSON
{
  "hex": "#252697",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 239.474,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3588,
    "c": 0.17728,
    "h": 272.6
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#252697
secondary
#BDBC5B
accent
#E244E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252697

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

Preview Lab → · Contrast checker → · Palette generator →

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