#252690#252690

#252690 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.168 H 273.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#252690
RGBrgb(37, 38, 144)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 56%)
CMYKcmyk(74.3%, 73.6%, 0%, 43.5%)
CIE-LABlab(22.97, 36.36, -58.10)
CIE-LCHlch(22.97, 68.54, 302.04°)
OKLaboklab(35.13% 0.0093 -0.1681)
OKLCHoklch(35.13% 0.168 273.2)
XYZxyz(6.4884, 3.7925, 26.7702)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252690 #908F25
analogous
#255B90 #252690 #592590
triadic
#252690 #902526 #269025
tetradic
#252690 #90255B #908F25 #259059
square
#252690 #90255B #908F25 #259059
split-complementary
#252690 #905925 #5B9025
monochromatic
#0C0C2F #18195F #252690 #3233C1 #5B5CD5

Accessibility & contrast

On white

11.94
#252690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252690
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252690#FFFFFF#000000##FFFFFF
##2526901.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252690;
/* rgb */ color: rgb(37, 38, 144);
/* oklch */ color: oklch(35.1% 0.168 273.2);
Tailwind
colors: {
  custom: {
    50: '#7161b2',
    500: '#252690',
    950: '#000000',
  },
}
SCSS
$custom: #252690;
$custom-light: #7161b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252690",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 239.439,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3513,
    "c": 0.16832,
    "h": 273.2
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#252690
secondary
#B9B957
accent
#E145E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252690

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

Preview Lab → · Contrast checker → · Palette generator →

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