#252BA0#252BA0

#252BA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 271.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#252BA0
RGBrgb(37, 43, 160)
HSLhsl(237, 62%, 39%)
HSVhsv(237, 77%, 63%)
CMYKcmyk(76.9%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.74, 38.94, -63.36)
CIE-LCHlch(25.74, 74.37, 301.57°)
OKLaboklab(37.61% 0.0042 -0.1834)
OKLCHoklch(37.61% 0.183 271.3)
XYZxyz(7.9698, 4.6583, 33.7300)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BA0 #A09A25
analogous
#2568A0 #252BA0 #5C25A0
triadic
#252BA0 #A0252B #2BA025
tetradic
#252BA0 #A02568 #A09A25 #25A05C
square
#252BA0 #A02568 #A09A25 #25A05C
split-complementary
#252BA0 #A05C25 #68A025
monochromatic
#0E103D #1A1E6E #252BA0 #323AD0 #646ADB

Accessibility & contrast

On white

10.87
#252BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#252BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BA0
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BA0#FFFFFF#000000##FFFFFF
##252BA01.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252ba0;
/* rgb */ color: rgb(37, 43, 160);
/* oklch */ color: oklch(37.6% 0.183 271.3);
Tailwind
colors: {
  custom: {
    50: '#7565bd',
    500: '#252ba0',
    950: '#000000',
  },
}
SCSS
$custom: #252ba0;
$custom-light: #7565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#252ba0",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 237.073,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37608,
    "c": 0.18348,
    "h": 271.3
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#252BA0
secondary
#C1BC60
accent
#DE42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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