#3124AC#3124AC

#3124AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.202 H 275.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3124AC
RGBrgb(49, 36, 172)
HSLhsl(246, 65%, 41%)
HSVhsv(246, 79%, 67%)
CMYKcmyk(71.5%, 79.1%, 0%, 32.5%)
CIE-LABlab(26.43, 47.87, -69.46)
CIE-LCHlch(26.43, 84.36, 304.57°)
OKLaboklab(38.68% 0.0197 -0.2008)
OKLCHoklch(38.68% 0.202 275.6)
XYZxyz(9.3414, 4.8924, 39.4738)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124AC #9FAC24
analogous
#245BAC #3124AC #7524AC
triadic
#3124AC #AC3124 #24AC31
tetradic
#3124AC #AC245B #9FAC24 #24AC75
square
#3124AC #AC245B #9FAC24 #24AC75
split-complementary
#3124AC #AC7524 #5BAC24
monochromatic
#140F47 #231979 #3124AC #4738D5 #766AE0

Accessibility & contrast

On white

10.61
#3124AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3124AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124AC
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124AC#FFFFFF#000000##FFFFFF
##3124AC1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3124ac;
/* rgb */ color: rgb(49, 36, 172);
/* oklch */ color: oklch(38.7% 0.202 275.6);
Tailwind
colors: {
  custom: {
    50: '#7d62c6',
    500: '#3124ac',
    950: '#000000',
  },
}
SCSS
$custom: #3124ac;
$custom-light: #7d62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3124ac",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 245.735,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38679,
    "c": 0.2018,
    "h": 275.6
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3124AC

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

Preview Lab → · Contrast checker → · Palette generator →

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