#252C67#252C67

#252C67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.103 H 274.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#252C67
RGBrgb(37, 44, 103)
HSLhsl(234, 47%, 27%)
HSVhsv(234, 64%, 40%)
CMYKcmyk(64.1%, 57.3%, 0%, 59.6%)
CIE-LABlab(20.73, 17.21, -35.73)
CIE-LCHlch(20.73, 39.66, 295.72°)
OKLaboklab(32.33% 0.0073 -0.1025)
OKLCHoklch(32.33% 0.103 274.1)
XYZxyz(4.1110, 3.1736, 13.2253)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C67 #676025
analogous
#254D67 #252C67 #3F2567
triadic
#252C67 #67252C #2C6725
tetradic
#252C67 #67254D #676025 #25673F
square
#252C67 #67254D #676025 #25673F
split-complementary
#252C67 #673F25 #4D6725
monochromatic
#080A17 #15193A #252C67 #353F94 #4955BE

Accessibility & contrast

On white

12.85
#252C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#252C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C67
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C67#FFFFFF#000000##FFFFFF
##252C671.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053569
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252c67;
/* rgb */ color: rgb(37, 44, 103);
/* oklch */ color: oklch(32.3% 0.103 274.1);
Tailwind
colors: {
  custom: {
    50: '#676493',
    500: '#252c67',
    950: '#000000',
  },
}
SCSS
$custom: #252c67;
$custom-light: #676493;
$custom-dark: #000000;
JSON
{
  "hex": "#252c67",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 233.636,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32329,
    "c": 0.10272,
    "h": 274.1
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#252C67
secondary
#9A924E
accent
#C951D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #252C67

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

Preview Lab → · Contrast checker → · Palette generator →

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