#252295#252295

#252295 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.179 H 273.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#252295
RGBrgb(37, 34, 149)
HSLhsl(242, 63%, 36%)
HSVhsv(242, 77%, 58%)
CMYKcmyk(75.2%, 77.2%, 0%, 41.6%)
CIE-LABlab(22.68, 40.43, -61.68)
CIE-LCHlch(22.68, 73.75, 303.24°)
OKLaboklab(35.08% 0.0103 -0.1785)
OKLCHoklch(35.08% 0.179 273.3)
XYZxyz(6.7580, 3.7066, 28.7872)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252295 #929522
analogous
#225895 #252295 #5E2295
triadic
#252295 #952522 #229525
tetradic
#252295 #952258 #929522 #22955E
square
#252295 #952258 #929522 #22955E
split-complementary
#252295 #955E22 #589522
monochromatic
#0C0B31 #191763 #252295 #312DC7 #5C58D9

Accessibility & contrast

On white

12.06
#252295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252295
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252295#FFFFFF#000000##FFFFFF
##2522951.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252295;
/* rgb */ color: rgb(37, 34, 149);
/* oklch */ color: oklch(35.1% 0.179 273.3);
Tailwind
colors: {
  custom: {
    50: '#735fb5',
    500: '#252295',
    950: '#000000',
  },
}
SCSS
$custom: #252295;
$custom-light: #735fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#252295",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 241.565,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3508,
    "c": 0.17877,
    "h": 273.3
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#252295
secondary
#BABD56
accent
#E642E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252295

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

Preview Lab → · Contrast checker → · Palette generator →

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