#252D9E#252D9E

#252D9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.179 H 271.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#252D9E
RGBrgb(37, 45, 158)
HSLhsl(236, 62%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(76.6%, 71.5%, 0%, 38%)
CIE-LABlab(25.97, 37.01, -61.76)
CIE-LCHlch(25.97, 72.00, 300.93°)
OKLaboklab(37.72% 0.0035 -0.1787)
OKLCHoklch(37.72% 0.179 271.1)
XYZxyz(7.8708, 4.7379, 32.8408)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D9E #9E9625
analogous
#25699E #252D9E #59259E
triadic
#252D9E #9E252D #2D9E25
tetradic
#252D9E #9E2569 #9E9625 #259E59
square
#252D9E #9E2569 #9E9625 #259E59
split-complementary
#252D9E #9E5925 #699E25
monochromatic
#0E113B #191F6C #252D9E #313CCF #636BDA

Accessibility & contrast

On white

10.78
#252D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#252D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D9E
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D9E#FFFFFF#000000##FFFFFF
##252D9E1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252d9e;
/* rgb */ color: rgb(37, 45, 158);
/* oklch */ color: oklch(37.7% 0.179 271.1);
Tailwind
colors: {
  custom: {
    50: '#7467bc',
    500: '#252d9e',
    950: '#000000',
  },
}
SCSS
$custom: #252d9e;
$custom-light: #7467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#252d9e",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 236.033,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37716,
    "c": 0.17878,
    "h": 271.1
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#252D9E
secondary
#C0B95F
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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