#252C85#252C85

#252C85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.147 H 272.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#252C85
RGBrgb(37, 44, 133)
HSLhsl(236, 56%, 33%)
HSVhsv(236, 72%, 52%)
CMYKcmyk(72.2%, 66.9%, 0%, 47.8%)
CIE-LABlab(23.30, 28.55, -50.71)
CIE-LCHlch(23.30, 58.19, 299.38°)
OKLaboklab(35.03% 0.0068 -0.1465)
OKLCHoklch(35.03% 0.147 272.7)
XYZxyz(5.8958, 3.8876, 22.6254)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C85 #857E25
analogous
#255C85 #252C85 #4E2585
triadic
#252C85 #85252C #2C8525
tetradic
#252C85 #85255C #857E25 #25854E
square
#252C85 #85255C #857E25 #25854E
split-complementary
#252C85 #854E25 #5C8525
monochromatic
#0A0C25 #181C55 #252C85 #323CB5 #555ED0

Accessibility & contrast

On white

11.81
#252C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#252C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C85
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C85#FFFFFF#000000##FFFFFF
##252C851.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252c85;
/* rgb */ color: rgb(37, 44, 133);
/* oklch */ color: oklch(35.0% 0.147 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e65a9',
    500: '#252c85',
    950: '#000000',
  },
}
SCSS
$custom: #252c85;
$custom-light: #6e65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252c85",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 235.625,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.14663,
    "h": 272.7
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#252C85
secondary
#B4AD52
accent
#D548E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252C85

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

Preview Lab → · Contrast checker → · Palette generator →

#252C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva