#252583#252583

#252583 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.152 H 274.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#252583
RGBrgb(37, 37, 131)
HSLhsl(240, 56%, 33%)
HSVhsv(240, 72%, 51%)
CMYKcmyk(71.8%, 71.8%, 0%, 48.6%)
CIE-LABlab(21.41, 32.37, -52.54)
CIE-LCHlch(21.41, 61.72, 301.64°)
OKLaboklab(33.61% 0.0119 -0.1519)
OKLCHoklch(33.61% 0.152 274.5)
XYZxyz(5.5199, 3.3546, 21.8249)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252583 #838325
analogous
#255483 #252583 #542583
triadic
#252583 #832525 #258325
tetradic
#252583 #832554 #838325 #258354
square
#252583 #832554 #838325 #258354
split-complementary
#252583 #835425 #548325
monochromatic
#0A0A24 #181853 #252583 #3232B3 #5454CF

Accessibility & contrast

On white

12.57
#252583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252583
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252583#FFFFFF#000000##FFFFFF
##2525831.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252583;
/* rgb */ color: rgb(37, 37, 131);
/* oklch */ color: oklch(33.6% 0.152 274.5);
Tailwind
colors: {
  custom: {
    50: '#6e60a8',
    500: '#252583',
    950: '#000000',
  },
}
SCSS
$custom: #252583;
$custom-light: #6e60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#252583",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33607,
    "c": 0.15233,
    "h": 274.5
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#252583
secondary
#B3B351
accent
#DF49DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252583

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

Preview Lab → · Contrast checker → · Palette generator →

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