#3124A9#3124A9

#3124A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.198 H 275.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3124A9
RGBrgb(49, 36, 169)
HSLhsl(246, 65%, 40%)
HSVhsv(246, 79%, 66%)
CMYKcmyk(71%, 78.7%, 0%, 33.7%)
CIE-LABlab(26.09, 46.93, -68.20)
CIE-LCHlch(26.09, 82.79, 304.53°)
OKLaboklab(38.35% 0.0205 -0.1972)
OKLCHoklch(38.35% 0.198 275.9)
XYZxyz(9.0566, 4.7784, 37.9735)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A9 #9CA924
analogous
#2459A9 #3124A9 #7424A9
triadic
#3124A9 #A93124 #24A931
tetradic
#3124A9 #A92459 #9CA924 #24A974
square
#3124A9 #A92459 #9CA924 #24A974
split-complementary
#3124A9 #A97424 #59A924
monochromatic
#140F44 #221977 #3124A9 #4536D4 #7468DF

Accessibility & contrast

On white

10.74
#3124A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3124A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124A9
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A9#FFFFFF#000000##FFFFFF
##3124A91.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3124a9;
/* rgb */ color: rgb(49, 36, 169);
/* oklch */ color: oklch(38.4% 0.198 275.9);
Tailwind
colors: {
  custom: {
    50: '#7c62c4',
    500: '#3124a9',
    950: '#000000',
  },
}
SCSS
$custom: #3124a9;
$custom-light: #7c62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a9",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 245.865,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3835,
    "c": 0.19823,
    "h": 275.9
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#3124A9
secondary
#BBC564
accent
#E840D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3124A9

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

Preview Lab → · Contrast checker → · Palette generator →

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