#3124AD#3124AD

#3124AD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.203 H 275.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3124AD
RGBrgb(49, 36, 173)
HSLhsl(246, 66%, 41%)
HSVhsv(246, 79%, 68%)
CMYKcmyk(71.7%, 79.2%, 0%, 32.2%)
CIE-LABlab(26.54, 48.18, -69.88)
CIE-LCHlch(26.54, 84.88, 304.59°)
OKLaboklab(38.79% 0.0195 -0.202)
OKLCHoklch(38.79% 0.203 275.5)
XYZxyz(9.4378, 4.9309, 39.9814)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124AD #A0AD24
analogous
#245CAD #3124AD #7524AD
triadic
#3124AD #AD3124 #24AD31
tetradic
#3124AD #AD245C #A0AD24 #24AD75
square
#3124AD #AD245C #A0AD24 #24AD75
split-complementary
#3124AD #AD7524 #5CAD24
monochromatic
#140F48 #23197A #3124AD #4739D6 #766BE0

Accessibility & contrast

On white

10.57
#3124AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3124AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124AD
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124AD#FFFFFF#000000##FFFFFF
##3124AD1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3124ad;
/* rgb */ color: rgb(49, 36, 173);
/* oklch */ color: oklch(38.8% 0.203 275.5);
Tailwind
colors: {
  custom: {
    50: '#7d62c7',
    500: '#3124ad',
    950: '#000000',
  },
}
SCSS
$custom: #3124ad;
$custom-light: #7d62c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3124ad",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 245.693,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3879,
    "c": 0.20298,
    "h": 275.5
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#3124AD
secondary
#BDC666
accent
#E93FD8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3124AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3124AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva