#252DA5#252DA5

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

Color values

HEX#252DA5
RGBrgb(37, 45, 165)
HSLhsl(236, 63%, 40%)
HSVhsv(236, 78%, 65%)
CMYKcmyk(77.6%, 72.7%, 0%, 35.3%)
CIE-LABlab(26.69, 39.49, -64.82)
CIE-LCHlch(26.69, 75.90, 301.35°)
OKLaboklab(38.45% 0.0025 -0.1877)
OKLCHoklch(38.45% 0.188 270.8)
XYZxyz(8.4906, 4.9858, 36.1049)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DA5 #A59D25
analogous
#256DA5 #252DA5 #5D25A5
triadic
#252DA5 #A5252D #2DA525
tetradic
#252DA5 #A5256D #A59D25 #25A55D
square
#252DA5 #A5256D #A59D25 #25A55D
split-complementary
#252DA5 #A55D25 #6DA525
monochromatic
#0F1241 #1A1F73 #252DA5 #353FD2 #676FDD

Accessibility & contrast

On white

10.51
#252DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252DA5
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DA5#FFFFFF#000000##FFFFFF
##252DA51.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #252da5;
/* rgb */ color: rgb(37, 45, 165);
/* oklch */ color: oklch(38.4% 0.188 270.8);
Tailwind
colors: {
  custom: {
    50: '#7667c1',
    500: '#252da5',
    950: '#000000',
  },
}
SCSS
$custom: #252da5;
$custom-light: #7667c1;
$custom-dark: #000000;
JSON
{
  "hex": "#252da5",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 236.25,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.1877,
    "h": 270.8
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#252DA5
secondary
#C3BD63
accent
#DC41E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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