#252983#252983

#252983 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.148 H 273.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#252983
RGBrgb(37, 41, 131)
HSLhsl(237, 56%, 33%)
HSVhsv(237, 72%, 51%)
CMYKcmyk(71.8%, 68.7%, 0%, 48.6%)
CIE-LABlab(22.36, 29.79, -50.98)
CIE-LCHlch(22.36, 59.05, 300.30°)
OKLaboklab(34.3% 0.0092 -0.1473)
OKLCHoklch(34.3% 0.148 273.6)
XYZxyz(5.6513, 3.6173, 21.8687)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252983 #837F25
analogous
#255883 #252983 #502583
triadic
#252983 #832529 #298325
tetradic
#252983 #832558 #837F25 #258350
square
#252983 #832558 #837F25 #258350
split-complementary
#252983 #835025 #588325
monochromatic
#0A0B24 #181A53 #252983 #3238B3 #5459CF

Accessibility & contrast

On white

12.18
#252983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#252983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252983
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252983#FFFFFF#000000##FFFFFF
##2529831.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252983;
/* rgb */ color: rgb(37, 41, 131);
/* oklch */ color: oklch(34.3% 0.148 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e63a8',
    500: '#252983',
    950: '#000000',
  },
}
SCSS
$custom: #252983;
$custom-light: #6e63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#252983",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 237.447,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34296,
    "c": 0.14756,
    "h": 273.6
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#252983
secondary
#B3AF51
accent
#D949DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252983

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

Preview Lab → · Contrast checker → · Palette generator →

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