#252C9E#252C9E

#252C9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.180 H 271.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#252C9E
RGBrgb(37, 44, 158)
HSLhsl(237, 62%, 38%)
HSVhsv(237, 77%, 62%)
CMYKcmyk(76.6%, 72.2%, 0%, 38%)
CIE-LABlab(25.75, 37.63, -62.13)
CIE-LCHlch(25.75, 72.63, 301.20°)
OKLaboklab(37.56% 0.004 -0.1798)
OKLCHoklch(37.56% 0.18 271.3)
XYZxyz(7.8331, 4.6625, 32.8282)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C9E #9E9725
analogous
#25689E #252C9E #5A259E
triadic
#252C9E #9E252C #2C9E25
tetradic
#252C9E #9E2568 #9E9725 #259E5A
square
#252C9E #9E2568 #9E9725 #259E5A
split-complementary
#252C9E #9E5A25 #689E25
monochromatic
#0E103B #191E6C #252C9E #313ACF #636ADA

Accessibility & contrast

On white

10.87
#252C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252C9E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C9E#FFFFFF#000000##FFFFFF
##252C9E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252c9e;
/* rgb */ color: rgb(37, 44, 158);
/* oklch */ color: oklch(37.6% 0.180 271.3);
Tailwind
colors: {
  custom: {
    50: '#7466bc',
    500: '#252c9e',
    950: '#000000',
  },
}
SCSS
$custom: #252c9e;
$custom-light: #7466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#252c9e",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 236.529,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.17987,
    "h": 271.3
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#252C9E
secondary
#C0BA5F
accent
#DC43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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