#252FDC#252FDC

#252FDC is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.8% C 0.251 H 268.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#252FDC
RGBrgb(37, 47, 220)
HSLhsl(237, 72%, 50%)
HSVhsv(237, 83%, 86%)
CMYKcmyk(83.2%, 78.6%, 0%, 13.7%)
CIE-LABlab(33.12, 56.63, -86.59)
CIE-LCHlch(33.12, 103.47, 303.18°)
OKLaboklab(44.76% -0.0068 -0.2509)
OKLCHoklch(44.76% 0.251 268.5)
XYZxyz(14.6933, 7.5919, 68.3872)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252FDC #DCD225
analogous
#258BDC #252FDC #7625DC
triadic
#252FDC #DC252F #2FDC25
tetradic
#252FDC #DC258B #DCD225 #25DC76
square
#252FDC #DC258B #DCD225 #25DC76
split-complementary
#252FDC #DC7625 #8BDC25
monochromatic
#131874 #1B23A9 #252FDC #5A61E4 #8E94ED

Accessibility & contrast

On white

8.34
#252FDC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#252FDC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252FDC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252FDC#FFFFFF#000000##FFFFFF
##252FDC1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057E1
Deuteranopia (green-blind)
#0044D9
Tritanopia (blue-blind)
#006586
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #252fdc;
/* rgb */ color: rgb(37, 47, 220);
/* oklch */ color: oklch(44.8% 0.251 268.5);
Tailwind
colors: {
  custom: {
    50: '#846be8',
    500: '#252fdc',
    950: '#000000',
  },
}
SCSS
$custom: #252fdc;
$custom-light: #846be8;
$custom-dark: #000000;
JSON
{
  "hex": "#252fdc",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 220
  },
  "hsl": {
    "h": 236.721,
    "s": 72.332,
    "l": 50.392
  },
  "oklch": {
    "l": 0.44763,
    "c": 0.25096,
    "h": 268.5
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#252FDC
secondary
#D7D386
accent
#E539EF
background
#F9F6FE
surface
#F1EBFD
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #252FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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