#252C9F#252C9F

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

Color values

HEX#252C9F
RGBrgb(37, 44, 159)
HSLhsl(237, 62%, 38%)
HSVhsv(237, 77%, 62%)
CMYKcmyk(76.7%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.85, 37.98, -62.57)
CIE-LCHlch(25.85, 73.19, 301.26°)
OKLaboklab(37.66% 0.0039 -0.1811)
OKLCHoklch(37.66% 0.181 271.2)
XYZxyz(7.9195, 4.6970, 33.2834)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C9F #9F9825
analogous
#25699F #252C9F #5B259F
triadic
#252C9F #9F252C #2C9F25
tetradic
#252C9F #9F2569 #9F9825 #259F5B
square
#252C9F #9F2569 #9F9825 #259F5B
split-complementary
#252C9F #9F5B25 #699F25
monochromatic
#0E113C #191E6D #252C9F #323BCF #646ADB

Accessibility & contrast

On white

10.83
#252C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#252C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C9F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C9F#FFFFFF#000000##FFFFFF
##252C9F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252c9f;
/* rgb */ color: rgb(37, 44, 159);
/* oklch */ color: oklch(37.7% 0.181 271.2);
Tailwind
colors: {
  custom: {
    50: '#7466bd',
    500: '#252c9f',
    950: '#000000',
  },
}
SCSS
$custom: #252c9f;
$custom-light: #7466bd;
$custom-dark: #000000;
JSON
{
  "hex": "#252c9f",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 236.557,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3766,
    "c": 0.18115,
    "h": 271.2
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#252C9F
secondary
#C0BB5F
accent
#DC42E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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