#252099#252099

#252099 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.186 H 273.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#252099
RGBrgb(37, 32, 153)
HSLhsl(242, 65%, 36%)
HSVhsv(242, 79%, 60%)
CMYKcmyk(75.8%, 79.1%, 0%, 40%)
CIE-LABlab(22.74, 42.86, -64.03)
CIE-LCHlch(22.74, 77.06, 303.80°)
OKLaboklab(35.26% 0.0103 -0.1853)
OKLCHoklch(35.26% 0.186 273.2)
XYZxyz(7.0273, 3.7255, 30.4796)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252099 #949920
analogous
#205899 #252099 #622099
triadic
#252099 #992520 #209925
tetradic
#252099 #992058 #949920 #209962
square
#252099 #992058 #949920 #209962
split-complementary
#252099 #996220 #589920
monochromatic
#0D0B34 #191566 #252099 #312BCC #5D57DC

Accessibility & contrast

On white

12.03
#252099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252099
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252099#FFFFFF#000000##FFFFFF
##2520991.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252099;
/* rgb */ color: rgb(37, 32, 153);
/* oklch */ color: oklch(35.3% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#745eb8',
    500: '#252099',
    950: '#000000',
  },
}
SCSS
$custom: #252099;
$custom-light: #745eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#252099",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 242.479,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35259,
    "c": 0.18557,
    "h": 273.2
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#252099
secondary
#BBC055
accent
#E83FE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #252099

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

Preview Lab → · Contrast checker → · Palette generator →

#252099 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva