#252A63#252A63

#252A63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.099 H 275.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#252A63
RGBrgb(37, 42, 99)
HSLhsl(235, 46%, 27%)
HSVhsv(235, 63%, 39%)
CMYKcmyk(62.6%, 57.6%, 0%, 61.2%)
CIE-LABlab(19.84, 17.11, -34.54)
CIE-LCHlch(19.84, 38.55, 296.35°)
OKLaboklab(31.57% 0.0093 -0.099)
OKLCHoklch(31.57% 0.099 275.4)
XYZxyz(3.8423, 2.9498, 12.1689)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A63 #635E25
analogous
#254963 #252A63 #3F2563
triadic
#252A63 #63252A #2A6325
tetradic
#252A63 #632549 #635E25 #25633F
square
#252A63 #632549 #635E25 #25633F
split-complementary
#252A63 #633F25 #496325
monochromatic
#080916 #141736 #252A63 #363D90 #4851BB

Accessibility & contrast

On white

13.21
#252A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#252A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A63
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A63#FFFFFF#000000##FFFFFF
##252A631.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053365
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252a63;
/* rgb */ color: rgb(37, 42, 99);
/* oklch */ color: oklch(31.6% 0.099 275.4);
Tailwind
colors: {
  custom: {
    50: '#666390',
    500: '#252a63',
    950: '#000000',
  },
}
SCSS
$custom: #252a63;
$custom-light: #666390;
$custom-dark: #000000;
JSON
{
  "hex": "#252a63",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 235.161,
    "s": 45.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31568,
    "c": 0.09944,
    "h": 275.4
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#252A63
secondary
#96904E
accent
#CB53D5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #252A63

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

Preview Lab → · Contrast checker → · Palette generator →

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