#253AC6#253AC6

#253AC6 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 43.9% C 0.215 H 268.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#253AC6
RGBrgb(37, 58, 198)
HSLhsl(232, 69%, 46%)
HSVhsv(232, 81%, 78%)
CMYKcmyk(81.3%, 70.7%, 0%, 22.4%)
CIE-LABlab(32.91, 43.22, -74.18)
CIE-LCHlch(32.91, 85.86, 300.23°)
OKLaboklab(43.92% -0.0068 -0.215)
OKLCHoklch(43.92% 0.215 268.2)
XYZxyz(12.4655, 7.4952, 54.2049)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AC6 #C6B125
analogous
#258AC6 #253AC6 #6025C6
triadic
#253AC6 #C6253A #3AC625
tetradic
#253AC6 #C6258A #C6B125 #25C660
square
#253AC6 #C6258A #C6B125 #25C660
split-complementary
#253AC6 #C66025 #8AC625
monochromatic
#121C5F #1B2B92 #253AC6 #4B5EDD #7E8CE7

Accessibility & contrast

On white

8.40
#253AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#253AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253AC6
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253AC6#FFFFFF#000000##FFFFFF
##253AC61.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0046C3
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #253ac6;
/* rgb */ color: rgb(37, 58, 198);
/* oklch */ color: oklch(43.9% 0.215 268.2);
Tailwind
colors: {
  custom: {
    50: '#7d71d9',
    500: '#253ac6',
    950: '#000000',
  },
}
SCSS
$custom: #253ac6;
$custom-light: #7d71d9;
$custom-dark: #000000;
JSON
{
  "hex": "#253ac6",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 232.174,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.21508,
    "h": 268.2
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#253AC6
secondary
#CFC477
accent
#D53CEB
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #253AC6

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

Preview Lab → · Contrast checker → · Palette generator →

#253AC6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva