#252C63#252C63

#252C63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.096 H 274.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#252C63
RGBrgb(37, 44, 99)
HSLhsl(233, 46%, 27%)
HSVhsv(233, 63%, 39%)
CMYKcmyk(62.6%, 55.6%, 0%, 61.2%)
CIE-LABlab(20.42, 15.69, -33.61)
CIE-LCHlch(20.42, 37.09, 295.03°)
OKLaboklab(32% 0.007 -0.0962)
OKLCHoklch(32% 0.096 274.2)
XYZxyz(3.9150, 3.0952, 12.1931)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C63 #635C25
analogous
#254B63 #252C63 #3D2563
triadic
#252C63 #63252C #2C6325
tetradic
#252C63 #63254B #635C25 #25633D
square
#252C63 #63254B #635C25 #25633D
split-complementary
#252C63 #633D25 #4B6325
monochromatic
#080A16 #141836 #252C63 #364090 #4855BB

Accessibility & contrast

On white

12.97
#252C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#252C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C63
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C63#FFFFFF#000000##FFFFFF
##252C631.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3465
Deuteranopia (green-blind)
#002F62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252c63;
/* rgb */ color: rgb(37, 44, 99);
/* oklch */ color: oklch(32.0% 0.096 274.2);
Tailwind
colors: {
  custom: {
    50: '#666490',
    500: '#252c63',
    950: '#000000',
  },
}
SCSS
$custom: #252c63;
$custom-light: #666490;
$custom-dark: #000000;
JSON
{
  "hex": "#252c63",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 233.226,
    "s": 45.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32003,
    "c": 0.09647,
    "h": 274.2
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#252C63
secondary
#968E4E
accent
#C753D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #252C63

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

Preview Lab → · Contrast checker → · Palette generator →

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