#252CA8#252CA8

#252CA8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.192 H 270.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#252CA8
RGBrgb(37, 44, 168)
HSLhsl(237, 64%, 40%)
HSVhsv(237, 78%, 66%)
CMYKcmyk(78%, 73.8%, 0%, 34.1%)
CIE-LABlab(26.79, 41.13, -66.47)
CIE-LCHlch(26.79, 78.16, 301.75°)
OKLaboklab(38.61% 0.0025 -0.1925)
OKLCHoklch(38.61% 0.192 270.8)
XYZxyz(8.7291, 5.0209, 37.5473)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CA8 #A8A125
analogous
#256DA8 #252CA8 #6025A8
triadic
#252CA8 #A8252C #2CA825
tetradic
#252CA8 #A8256D #A8A125 #25A860
square
#252CA8 #A8256D #A8A125 #25A860
split-complementary
#252CA8 #A86025 #6DA825
monochromatic
#0F1244 #1A1F76 #252CA8 #3740D3 #6970DE

Accessibility & contrast

On white

10.48
#252CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#252CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CA8
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CA8#FFFFFF#000000##FFFFFF
##252CA81.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #252ca8;
/* rgb */ color: rgb(37, 44, 168);
/* oklch */ color: oklch(38.6% 0.192 270.8);
Tailwind
colors: {
  custom: {
    50: '#7766c3',
    500: '#252ca8',
    950: '#000000',
  },
}
SCSS
$custom: #252ca8;
$custom-light: #7766c3;
$custom-dark: #000000;
JSON
{
  "hex": "#252ca8",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 236.794,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38613,
    "c": 0.19249,
    "h": 270.8
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#252CA8
secondary
#C4BF65
accent
#DE41E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #252CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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