#252D65#252D65

#252D65 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.098 H 273.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#252D65
RGBrgb(37, 45, 101)
HSLhsl(233, 46%, 27%)
HSVhsv(233, 63%, 40%)
CMYKcmyk(63.4%, 55.4%, 0%, 60.4%)
CIE-LABlab(20.86, 15.74, -34.20)
CIE-LCHlch(20.86, 37.65, 294.71°)
OKLaboklab(32.38% 0.006 -0.098)
OKLCHoklch(32.38% 0.098 273.5)
XYZxyz(4.0495, 3.2094, 12.7155)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D65 #655D25
analogous
#254D65 #252D65 #3D2565
triadic
#252D65 #65252D #2D6525
tetradic
#252D65 #65254D #655D25 #25653D
square
#252D65 #65254D #655D25 #25653D
split-complementary
#252D65 #653D25 #4D6525
monochromatic
#080A16 #151938 #252D65 #354192 #4857BC

Accessibility & contrast

On white

12.79
#252D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D65
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D65#FFFFFF#000000##FFFFFF
##252D651.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3567
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252d65;
/* rgb */ color: rgb(37, 45, 101);
/* oklch */ color: oklch(32.4% 0.098 273.5);
Tailwind
colors: {
  custom: {
    50: '#666591',
    500: '#252d65',
    950: '#000000',
  },
}
SCSS
$custom: #252d65;
$custom-light: #666591;
$custom-dark: #000000;
JSON
{
  "hex": "#252d65",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 232.5,
    "s": 46.377,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32383,
    "c": 0.09814,
    "h": 273.5
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#252D65
secondary
#988F4E
accent
#C552D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #252D65

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

Preview Lab → · Contrast checker → · Palette generator →

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