#252AAF#252AAF

#252AAF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.203 H 270.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#252AAF
RGBrgb(37, 42, 175)
HSLhsl(238, 65%, 42%)
HSVhsv(238, 79%, 69%)
CMYKcmyk(78.9%, 76%, 0%, 31.4%)
CIE-LABlab(27.14, 44.67, -70.10)
CIE-LCHlch(27.14, 83.13, 302.51°)
OKLaboklab(39.08% 0.0022 -0.203)
OKLCHoklch(39.08% 0.203 270.6)
XYZxyz(9.3261, 5.1433, 41.0504)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252AAF #AFAA25
analogous
#256FAF #252AAF #6525AF
triadic
#252AAF #AF252A #2AAF25
tetradic
#252AAF #AF256F #AFAA25 #25AF65
square
#252AAF #AF256F #AFAA25 #25AF65
split-complementary
#252AAF #AF6525 #6FAF25
monochromatic
#10124A #1A1E7C #252AAF #3C41D6 #6E72E0

Accessibility & contrast

On white

10.35
#252AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#252AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252AAF
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252AAF#FFFFFF#000000##FFFFFF
##252AAF1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #252aaf;
/* rgb */ color: rgb(37, 42, 175);
/* oklch */ color: oklch(39.1% 0.203 270.6);
Tailwind
colors: {
  custom: {
    50: '#7965c8',
    500: '#252aaf',
    950: '#000000',
  },
}
SCSS
$custom: #252aaf;
$custom-light: #7965c8;
$custom-dark: #000000;
JSON
{
  "hex": "#252aaf",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 237.826,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.20303,
    "h": 270.6
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#252AAF
secondary
#C7C369
accent
#E240E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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