#252D83#252D83

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

Color values

HEX#252D83
RGBrgb(37, 45, 131)
HSLhsl(235, 56%, 33%)
HSVhsv(235, 72%, 51%)
CMYKcmyk(71.8%, 65.6%, 0%, 48.6%)
CIE-LABlab(23.37, 27.13, -49.34)
CIE-LCHlch(23.37, 56.31, 298.81°)
OKLaboklab(35.03% 0.0062 -0.1424)
OKLCHoklch(35.03% 0.143 272.5)
XYZxyz(5.7967, 3.9082, 21.9172)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D83 #837B25
analogous
#255C83 #252D83 #4C2583
triadic
#252D83 #83252D #2D8325
tetradic
#252D83 #83255C #837B25 #25834C
square
#252D83 #83255C #837B25 #25834C
split-complementary
#252D83 #834C25 #5C8325
monochromatic
#0A0C24 #181D53 #252D83 #323DB3 #545ECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252D83#FFFFFF#000000##FFFFFF
##252D831.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)
#003C86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252d83;
/* rgb */ color: rgb(37, 45, 131);
/* oklch */ color: oklch(35.0% 0.143 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d66a8',
    500: '#252d83',
    950: '#000000',
  },
}
SCSS
$custom: #252d83;
$custom-light: #6d66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#252d83",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 234.894,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.14258,
    "h": 272.5
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#252D83
secondary
#B3AB51
accent
#D249DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252D83

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

Preview Lab → · Contrast checker → · Palette generator →

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