#252FB0#252FB0

#252FB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.199 H 270.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#252FB0
RGBrgb(37, 47, 176)
HSLhsl(236, 65%, 42%)
HSVhsv(236, 79%, 69%)
CMYKcmyk(79%, 73.3%, 0%, 31%)
CIE-LABlab(28.27, 42.13, -68.83)
CIE-LCHlch(28.27, 80.70, 301.47°)
OKLaboklab(39.92% 0.0001 -0.1993)
OKLCHoklch(39.92% 0.199 270)
XYZxyz(9.6133, 5.5598, 41.6324)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252FB0 #B0A625
analogous
#2575B0 #252FB0 #6025B0
triadic
#252FB0 #B0252F #2FB025
tetradic
#252FB0 #B02575 #B0A625 #25B060
square
#252FB0 #B02575 #B0A625 #25B060
split-complementary
#252FB0 #B06025 #75B025
monochromatic
#10144B #1A217D #252FB0 #3C47D6 #6F77E1

Accessibility & contrast

On white

9.94
#252FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#252FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252FB0
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252FB0#FFFFFF#000000##FFFFFF
##252FB01.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #252fb0;
/* rgb */ color: rgb(37, 47, 176);
/* oklch */ color: oklch(39.9% 0.199 270.0);
Tailwind
colors: {
  custom: {
    50: '#7869c9',
    500: '#252fb0',
    950: '#000000',
  },
}
SCSS
$custom: #252fb0;
$custom-light: #7869c9;
$custom-dark: #000000;
JSON
{
  "hex": "#252fb0",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 235.683,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.19935,
    "h": 270
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#252FB0
secondary
#C7C16A
accent
#DC40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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