#252E80#252E80

#252E80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.137 H 272.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#252E80
RGBrgb(37, 46, 128)
HSLhsl(234, 55%, 32%)
HSVhsv(234, 71%, 50%)
CMYKcmyk(71.1%, 64.1%, 0%, 49.8%)
CIE-LABlab(23.36, 25.33, -47.47)
CIE-LCHlch(23.36, 53.80, 298.08°)
OKLaboklab(34.94% 0.0055 -0.1369)
OKLCHoklch(34.94% 0.137 272.3)
XYZxyz(5.6349, 3.9053, 20.8747)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E80 #807725
analogous
#255C80 #252E80 #4A2580
triadic
#252E80 #80252E #2E8025
tetradic
#252E80 #80255C #807725 #25804A
square
#252E80 #80255C #807725 #25804A
split-complementary
#252E80 #804A25 #5C8025
monochromatic
#0A0C21 #171D51 #252E80 #333FAF #525ECD

Accessibility & contrast

On white

11.79
#252E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252E80
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E80#FFFFFF#000000##FFFFFF
##252E801.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252e80;
/* rgb */ color: rgb(37, 46, 128);
/* oklch */ color: oklch(34.9% 0.137 272.3);
Tailwind
colors: {
  custom: {
    50: '#6d66a6',
    500: '#252e80',
    950: '#000000',
  },
}
SCSS
$custom: #252e80;
$custom-light: #6d66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#252e80",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 234.066,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34936,
    "c": 0.13706,
    "h": 272.3
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#252E80
secondary
#B1A850
accent
#D049DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #252E80

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

Preview Lab → · Contrast checker → · Palette generator →

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