#252D68#252D68

#252D68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.103 H 273.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#252D68
RGBrgb(37, 45, 104)
HSLhsl(233, 48%, 28%)
HSVhsv(233, 64%, 41%)
CMYKcmyk(64.4%, 56.7%, 0%, 59.2%)
CIE-LABlab(21.09, 16.88, -35.79)
CIE-LCHlch(21.09, 39.57, 295.25°)
OKLaboklab(32.63% 0.0063 -0.1026)
OKLCHoklch(32.63% 0.103 273.5)
XYZxyz(4.1992, 3.2692, 13.5038)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D68 #686025
analogous
#254E68 #252D68 #3F2568
triadic
#252D68 #68252D #2D6825
tetradic
#252D68 #68254E #686025 #25683F
square
#252D68 #68254E #686025 #25683F
split-complementary
#252D68 #683F25 #4E6825
monochromatic
#080A17 #15193B #252D68 #354195 #4957BE

Accessibility & contrast

On white

12.70
#252D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252D68
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D68#FFFFFF#000000##FFFFFF
##252D681.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252d68;
/* rgb */ color: rgb(37, 45, 104);
/* oklch */ color: oklch(32.6% 0.103 273.5);
Tailwind
colors: {
  custom: {
    50: '#676594',
    500: '#252d68',
    950: '#000000',
  },
}
SCSS
$custom: #252d68;
$custom-light: #676594;
$custom-dark: #000000;
JSON
{
  "hex": "#252d68",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 232.836,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.10282,
    "h": 273.5
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252D68

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

Preview Lab → · Contrast checker → · Palette generator →

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