#252D6A#252D6A

#252D6A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.106 H 273.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#252D6A
RGBrgb(37, 45, 106)
HSLhsl(233, 48%, 28%)
HSVhsv(233, 65%, 42%)
CMYKcmyk(65.1%, 57.5%, 0%, 58.4%)
CIE-LABlab(21.25, 17.65, -36.84)
CIE-LCHlch(21.25, 40.84, 295.60°)
OKLaboklab(32.79% 0.0064 -0.1057)
OKLCHoklch(32.79% 0.106 273.4)
XYZxyz(4.3020, 3.3103, 14.0451)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D6A #6A6225
analogous
#254F6A #252D6A #3F256A
triadic
#252D6A #6A252D #2D6A25
tetradic
#252D6A #6A254F #6A6225 #256A3F
square
#252D6A #6A254F #6A6225 #256A3F
split-complementary
#252D6A #6A3F25 #4F6A25
monochromatic
#080A17 #151A3D #252D6A #354097 #4A57C0

Accessibility & contrast

On white

12.63
#252D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#252D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D6A
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D6A#FFFFFF#000000##FFFFFF
##252D6A1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03366C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252d6a;
/* rgb */ color: rgb(37, 45, 106);
/* oklch */ color: oklch(32.8% 0.106 273.4);
Tailwind
colors: {
  custom: {
    50: '#686595',
    500: '#252d6a',
    950: '#000000',
  },
}
SCSS
$custom: #252d6a;
$custom-light: #686595;
$custom-dark: #000000;
JSON
{
  "hex": "#252d6a",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 233.043,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.1059,
    "h": 273.4
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#252D6A
secondary
#9D944E
accent
#C850D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #252D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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