#252695#252695

#252695 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.175 H 272.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#252695
RGBrgb(37, 38, 149)
HSLhsl(239, 60%, 36%)
HSVhsv(239, 75%, 58%)
CMYKcmyk(75.2%, 74.5%, 0%, 41.6%)
CIE-LABlab(23.50, 38.10, -60.32)
CIE-LCHlch(23.50, 71.35, 302.28°)
OKLaboklab(35.66% 0.0084 -0.1745)
OKLCHoklch(35.66% 0.175 272.8)
XYZxyz(6.8791, 3.9488, 28.8276)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252695 #959425
analogous
#255E95 #252695 #5C2595
triadic
#252695 #952526 #269525
tetradic
#252695 #95255E #959425 #25955C
square
#252695 #95255E #959425 #25955C
split-complementary
#252695 #955C25 #5E9525
monochromatic
#0D0D33 #191964 #252695 #3133C6 #5E5FD7

Accessibility & contrast

On white

11.73
#252695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#252695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252695
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252695#FFFFFF#000000##FFFFFF
##2526951.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252695;
/* rgb */ color: rgb(37, 38, 149);
/* oklch */ color: oklch(35.7% 0.175 272.8);
Tailwind
colors: {
  custom: {
    50: '#7262b5',
    500: '#252695',
    950: '#000000',
  },
}
SCSS
$custom: #252695;
$custom-light: #7262b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252695",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 239.464,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35664,
    "c": 0.17474,
    "h": 272.8
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#252695
secondary
#BCBB5A
accent
#E244E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252695

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

Preview Lab → · Contrast checker → · Palette generator →

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