#252D67#252D67

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

Color values

HEX#252D67
RGBrgb(37, 45, 103)
HSLhsl(233, 47%, 27%)
HSVhsv(233, 64%, 40%)
CMYKcmyk(64.1%, 56.3%, 0%, 59.6%)
CIE-LABlab(21.01, 16.50, -35.26)
CIE-LCHlch(21.01, 38.93, 295.08°)
OKLaboklab(32.55% 0.0062 -0.1011)
OKLCHoklch(32.55% 0.101 273.5)
XYZxyz(4.1487, 3.2490, 13.2378)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D67 #675F25
analogous
#254E67 #252D67 #3E2567
triadic
#252D67 #67252D #2D6725
tetradic
#252D67 #67254E #675F25 #25673E
square
#252D67 #67254E #675F25 #25673E
split-complementary
#252D67 #673E25 #4E6725
monochromatic
#080A17 #15193A #252D67 #354194 #4957BE

Accessibility & contrast

On white

12.73
#252D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#252D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D67
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D67#FFFFFF#000000##FFFFFF
##252D671.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093569
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252d67;
/* rgb */ color: rgb(37, 45, 103);
/* oklch */ color: oklch(32.5% 0.101 273.5);
Tailwind
colors: {
  custom: {
    50: '#676593',
    500: '#252d67',
    950: '#000000',
  },
}
SCSS
$custom: #252d67;
$custom-light: #676593;
$custom-dark: #000000;
JSON
{
  "hex": "#252d67",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 232.727,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32545,
    "c": 0.10127,
    "h": 273.5
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#252D67
secondary
#9A914E
accent
#C751D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #252D67

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

Preview Lab → · Contrast checker → · Palette generator →

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