#252883#252883

#252883 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.149 H 273.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#252883
RGBrgb(37, 40, 131)
HSLhsl(238, 56%, 33%)
HSVhsv(238, 72%, 51%)
CMYKcmyk(71.8%, 69.5%, 0%, 48.6%)
CIE-LABlab(22.12, 30.44, -51.38)
CIE-LCHlch(22.12, 59.72, 300.65°)
OKLaboklab(34.12% 0.0099 -0.1484)
OKLCHoklch(34.12% 0.149 273.8)
XYZxyz(5.6171, 3.5491, 21.8573)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252883 #838025
analogous
#255783 #252883 #512583
triadic
#252883 #832528 #288325
tetradic
#252883 #832557 #838025 #258351
square
#252883 #832557 #838025 #258351
split-complementary
#252883 #835125 #578325
monochromatic
#0A0B24 #181953 #252883 #3237B3 #5458CF

Accessibility & contrast

On white

12.28
#252883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#252883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252883
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252883#FFFFFF#000000##FFFFFF
##2528831.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252883;
/* rgb */ color: rgb(37, 40, 131);
/* oklch */ color: oklch(34.1% 0.149 273.8);
Tailwind
colors: {
  custom: {
    50: '#6e62a8',
    500: '#252883',
    950: '#000000',
  },
}
SCSS
$custom: #252883;
$custom-light: #6e62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#252883",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 238.085,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34119,
    "c": 0.14878,
    "h": 273.8
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#252883
secondary
#B3B051
accent
#DA49DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252883

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

Preview Lab → · Contrast checker → · Palette generator →

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