#252D9C#252D9C

#252D9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.176 H 271.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#252D9C
RGBrgb(37, 45, 156)
HSLhsl(236, 62%, 38%)
HSVhsv(236, 76%, 61%)
CMYKcmyk(76.3%, 71.2%, 0%, 38.8%)
CIE-LABlab(25.77, 36.30, -60.87)
CIE-LCHlch(25.77, 70.87, 300.81°)
OKLaboklab(37.51% 0.0037 -0.1762)
OKLCHoklch(37.51% 0.176 271.2)
XYZxyz(7.7000, 4.6696, 31.9415)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D9C #9C9425
analogous
#25699C #252D9C #58259C
triadic
#252D9C #9C252D #2D9C25
tetradic
#252D9C #9C2569 #9C9425 #259C58
square
#252D9C #9C2569 #9C9425 #259C58
split-complementary
#252D9C #9C5825 #699C25
monochromatic
#0E1039 #191F6B #252D9C #313BCD #626ADA

Accessibility & contrast

On white

10.86
#252D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#252D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D9C
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D9C#FFFFFF#000000##FFFFFF
##252D9C1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252d9c;
/* rgb */ color: rgb(37, 45, 156);
/* oklch */ color: oklch(37.5% 0.176 271.2);
Tailwind
colors: {
  custom: {
    50: '#7466ba',
    500: '#252d9c',
    950: '#000000',
  },
}
SCSS
$custom: #252d9c;
$custom-light: #7466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252d9c",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 235.966,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37509,
    "c": 0.17621,
    "h": 271.2
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#252D9C
secondary
#BFB85E
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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