#252F68#252F68

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

Color values

HEX#252F68
RGBrgb(37, 47, 104)
HSLhsl(231, 48%, 28%)
HSVhsv(231, 64%, 41%)
CMYKcmyk(64.4%, 54.8%, 0%, 59.2%)
CIE-LABlab(21.67, 15.46, -34.85)
CIE-LCHlch(21.67, 38.13, 293.93°)
OKLaboklab(33.07% 0.004 -0.0998)
OKLCHoklch(33.07% 0.1 272.3)
XYZxyz(4.2773, 3.4255, 13.5298)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F68 #685E25
analogous
#255068 #252F68 #3D2568
triadic
#252F68 #68252F #2F6825
tetradic
#252F68 #682550 #685E25 #25683D
square
#252F68 #682550 #685E25 #25683D
split-complementary
#252F68 #683D25 #506825
monochromatic
#080A17 #151B3B #252F68 #354395 #495BBE

Accessibility & contrast

On white

12.46
#252F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#252F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F68
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F68#FFFFFF#000000##FFFFFF
##252F681.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E376A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252f68;
/* rgb */ color: rgb(37, 47, 104);
/* oklch */ color: oklch(33.1% 0.100 272.3);
Tailwind
colors: {
  custom: {
    50: '#676794',
    500: '#252f68',
    950: '#000000',
  },
}
SCSS
$custom: #252f68;
$custom-light: #676794;
$custom-dark: #000000;
JSON
{
  "hex": "#252f68",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 231.045,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33065,
    "c": 0.09992,
    "h": 272.3
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#252F68
secondary
#9B904E
accent
#C351D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #252F68

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

Preview Lab → · Contrast checker → · Palette generator →

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