#252999#252999

#252999 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.177 H 272.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#252999
RGBrgb(37, 41, 153)
HSLhsl(238, 61%, 37%)
HSVhsv(238, 76%, 60%)
CMYKcmyk(75.8%, 73.2%, 0%, 40%)
CIE-LABlab(24.57, 37.70, -61.01)
CIE-LCHlch(24.57, 71.72, 301.71°)
OKLaboklab(36.55% 0.0062 -0.1766)
OKLCHoklch(36.55% 0.177 272)
XYZxyz(7.3037, 4.2783, 30.5717)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252999 #999525
analogous
#256399 #252999 #5B2599
triadic
#252999 #992529 #299925
tetradic
#252999 #992563 #999525 #25995B
square
#252999 #992563 #999525 #25995B
split-complementary
#252999 #995B25 #639925
monochromatic
#0D0F36 #191C68 #252999 #3136CA #6064D9

Accessibility & contrast

On white

11.32
#252999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#252999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252999
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252999#FFFFFF#000000##FFFFFF
##2529991.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252999;
/* rgb */ color: rgb(37, 41, 153);
/* oklch */ color: oklch(36.6% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#7364b8',
    500: '#252999',
    950: '#000000',
  },
}
SCSS
$custom: #252999;
$custom-light: #7364b8;
$custom-dark: #000000;
JSON
{
  "hex": "#252999",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 237.931,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36554,
    "c": 0.17669,
    "h": 272
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#252999
secondary
#BEBA5C
accent
#DF44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #252999

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

Preview Lab → · Contrast checker → · Palette generator →

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