#3124A4#3124A4

#3124A4 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.192 H 276.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3124A4
RGBrgb(49, 36, 164)
HSLhsl(246, 64%, 39%)
HSVhsv(246, 78%, 64%)
CMYKcmyk(70.1%, 78%, 0%, 35.7%)
CIE-LABlab(25.55, 45.36, -66.08)
CIE-LCHlch(25.55, 80.15, 304.46°)
OKLaboklab(37.8% 0.0217 -0.191)
OKLCHoklch(37.8% 0.192 276.5)
XYZxyz(8.5961, 4.5943, 35.5485)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A4 #97A424
analogous
#2457A4 #3124A4 #7124A4
triadic
#3124A4 #A43124 #24A431
tetradic
#3124A4 #A42457 #97A424 #24A471
square
#3124A4 #A42457 #97A424 #24A471
split-complementary
#3124A4 #A47124 #57A424
monochromatic
#130E40 #221972 #3124A4 #4333D2 #7165DD

Accessibility & contrast

On white

10.94
#3124A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3124A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124A4
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A4#FFFFFF#000000##FFFFFF
##3124A41.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0037A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3124a4;
/* rgb */ color: rgb(49, 36, 164);
/* oklch */ color: oklch(37.8% 0.192 276.5);
Tailwind
colors: {
  custom: {
    50: '#7b62c0',
    500: '#3124a4',
    950: '#000000',
  },
}
SCSS
$custom: #3124a4;
$custom-light: #7b62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a4",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 246.094,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37804,
    "c": 0.19224,
    "h": 276.5
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#3124A4
secondary
#B9C361
accent
#E741D6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3124A4

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

Preview Lab → · Contrast checker → · Palette generator →

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