#252BAE#252BAE

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

Color values

HEX#252BAE
RGBrgb(37, 43, 174)
HSLhsl(237, 65%, 41%)
HSVhsv(237, 79%, 68%)
CMYKcmyk(78.7%, 75.3%, 0%, 31.8%)
CIE-LABlab(27.23, 43.77, -69.35)
CIE-LCHlch(27.23, 82.01, 302.25°)
OKLaboklab(39.11% 0.002 -0.2008)
OKLCHoklch(39.11% 0.201 270.6)
XYZxyz(9.2642, 5.1760, 40.5470)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BAE #AEA825
analogous
#2570AE #252BAE #6425AE
triadic
#252BAE #AE252B #2BAE25
tetradic
#252BAE #AE2570 #AEA825 #25AE64
square
#252BAE #AE2570 #AEA825 #25AE64
split-complementary
#252BAE #AE6425 #70AE25
monochromatic
#101249 #1A1F7C #252BAE #3B42D5 #6D72E0

Accessibility & contrast

On white

10.32
#252BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#252BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BAE
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BAE#FFFFFF#000000##FFFFFF
##252BAE1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #252bae;
/* rgb */ color: rgb(37, 43, 174);
/* oklch */ color: oklch(39.1% 0.201 270.6);
Tailwind
colors: {
  custom: {
    50: '#7866c7',
    500: '#252bae',
    950: '#000000',
  },
}
SCSS
$custom: #252bae;
$custom-light: #7866c7;
$custom-dark: #000000;
JSON
{
  "hex": "#252bae",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 237.372,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39114,
    "c": 0.20086,
    "h": 270.6
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#252BAE
secondary
#C6C268
accent
#E140E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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