#252A9C#252A9C

#252A9C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.179 H 271.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#252A9C
RGBrgb(37, 42, 156)
HSLhsl(237, 62%, 38%)
HSVhsv(237, 76%, 61%)
CMYKcmyk(76.3%, 73.1%, 0%, 38.8%)
CIE-LABlab(25.10, 38.14, -61.97)
CIE-LCHlch(25.10, 72.77, 301.61°)
OKLaboklab(37.03% 0.0053 -0.1794)
OKLCHoklch(37.03% 0.179 271.7)
XYZxyz(7.5896, 4.4487, 31.9047)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A9C #9C9725
analogous
#25659C #252A9C #5B259C
triadic
#252A9C #9C252A #2A9C25
tetradic
#252A9C #9C2565 #9C9725 #259C5B
square
#252A9C #9C2565 #9C9725 #259C5B
split-complementary
#252A9C #9C5B25 #659C25
monochromatic
#0E0F39 #191D6B #252A9C #3137CD #6267DA

Accessibility & contrast

On white

11.11
#252A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#252A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A9C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A9C#FFFFFF#000000##FFFFFF
##252A9C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252a9c;
/* rgb */ color: rgb(37, 42, 156);
/* oklch */ color: oklch(37.0% 0.179 271.7);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#252a9c',
    950: '#000000',
  },
}
SCSS
$custom: #252a9c;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252a9c",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 237.479,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37028,
    "c": 0.17946,
    "h": 271.7
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#252A9C
secondary
#BFBB5E
accent
#DE43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #252A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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