#252F66#252F66

#252F66 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.097 H 272.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#252F66
RGBrgb(37, 47, 102)
HSLhsl(231, 47%, 27%)
HSVhsv(231, 64%, 40%)
CMYKcmyk(63.7%, 53.9%, 0%, 60%)
CIE-LABlab(21.53, 14.70, -33.79)
CIE-LCHlch(21.53, 36.84, 293.51°)
OKLaboklab(32.91% 0.0038 -0.0967)
OKLCHoklch(32.91% 0.097 272.3)
XYZxyz(4.1769, 3.3853, 13.0011)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F66 #665C25
analogous
#255066 #252F66 #3B2566
triadic
#252F66 #66252F #2F6625
tetradic
#252F66 #662550 #665C25 #25663B
square
#252F66 #662550 #665C25 #25663B
split-complementary
#252F66 #663B25 #506625
monochromatic
#080A16 #151A39 #252F66 #354493 #495ABD

Accessibility & contrast

On white

12.52
#252F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#252F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F66
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F66#FFFFFF#000000##FFFFFF
##252F661.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113768
Deuteranopia (green-blind)
#033165
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252f66;
/* rgb */ color: rgb(37, 47, 102);
/* oklch */ color: oklch(32.9% 0.097 272.3);
Tailwind
colors: {
  custom: {
    50: '#676792',
    500: '#252f66',
    950: '#000000',
  },
}
SCSS
$custom: #252f66;
$custom-light: #676792;
$custom-dark: #000000;
JSON
{
  "hex": "#252f66",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 230.769,
    "s": 46.763,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32906,
    "c": 0.0968,
    "h": 272.3
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#252F66
secondary
#998E4E
accent
#C251D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #252F66

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

Preview Lab → · Contrast checker → · Palette generator →

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