#252B6C#252B6C

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

Color values

HEX#252B6C
RGBrgb(37, 43, 108)
HSLhsl(235, 49%, 28%)
HSVhsv(235, 66%, 42%)
CMYKcmyk(65.7%, 60.2%, 0%, 57.6%)
CIE-LABlab(20.84, 19.82, -38.79)
CIE-LCHlch(20.84, 43.56, 297.06°)
OKLaboklab(32.54% 0.0085 -0.1115)
OKLCHoklch(32.54% 0.112 274.4)
XYZxyz(4.3327, 3.2034, 14.5744)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B6C #6C6625
analogous
#254E6C #252B6C #42256C
triadic
#252B6C #6C252B #2B6C25
tetradic
#252B6C #6C254E #6C6625 #256C42
square
#252B6C #6C254E #6C6625 #256C42
split-complementary
#252B6C #6C4225 #4E6C25
monochromatic
#080917 #15193E #252B6C #353D9A #4A54C1

Accessibility & contrast

On white

12.80
#252B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B6C
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B6C#FFFFFF#000000##FFFFFF
##252B6C1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252b6c;
/* rgb */ color: rgb(37, 43, 108);
/* oklch */ color: oklch(32.5% 0.112 274.4);
Tailwind
colors: {
  custom: {
    50: '#686497',
    500: '#252b6c',
    950: '#000000',
  },
}
SCSS
$custom: #252b6c;
$custom-light: #686497;
$custom-dark: #000000;
JSON
{
  "hex": "#252b6c",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 108
  },
  "hsl": {
    "h": 234.93,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3254,
    "c": 0.11181,
    "h": 274.4
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#252B6C
secondary
#9F984E
accent
#CD4FD9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #252B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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