#252C80#252C80

#252C80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.140 H 272.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#252C80
RGBrgb(37, 44, 128)
HSLhsl(235, 55%, 32%)
HSVhsv(235, 71%, 50%)
CMYKcmyk(71.1%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.84, 26.68, -48.32)
CIE-LCHlch(22.84, 55.19, 298.91°)
OKLaboklab(34.55% 0.0071 -0.1395)
OKLCHoklch(34.55% 0.14 272.9)
XYZxyz(5.5586, 3.7527, 20.8493)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C80 #807925
analogous
#255980 #252C80 #4C2580
triadic
#252C80 #80252C #2C8025
tetradic
#252C80 #802559 #807925 #25804C
square
#252C80 #802559 #807925 #25804C
split-complementary
#252C80 #804C25 #598025
monochromatic
#0A0B21 #171C51 #252C80 #333CAF #525CCD

Accessibility & contrast

On white

12.00
#252C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C80
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C80#FFFFFF#000000##FFFFFF
##252C801.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252c80;
/* rgb */ color: rgb(37, 44, 128);
/* oklch */ color: oklch(34.6% 0.140 272.9);
Tailwind
colors: {
  custom: {
    50: '#6d65a6',
    500: '#252c80',
    950: '#000000',
  },
}
SCSS
$custom: #252c80;
$custom-light: #6d65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#252c80",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 235.385,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34554,
    "c": 0.13964,
    "h": 272.9
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#252C80
secondary
#B1AA50
accent
#D349DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #252C80

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

Preview Lab → · Contrast checker → · Palette generator →

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