#3124A6#3124A6

#3124A6 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.195 H 276.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3124A6
RGBrgb(49, 36, 166)
HSLhsl(246, 64%, 40%)
HSVhsv(246, 78%, 65%)
CMYKcmyk(70.5%, 78.3%, 0%, 34.9%)
CIE-LABlab(25.76, 45.99, -66.94)
CIE-LCHlch(25.76, 81.21, 304.49°)
OKLaboklab(38.02% 0.0212 -0.1935)
OKLCHoklch(38.02% 0.195 276.3)
XYZxyz(8.7782, 4.6671, 36.5072)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A6 #99A624
analogous
#2458A6 #3124A6 #7224A6
triadic
#3124A6 #A63124 #24A631
tetradic
#3124A6 #A62458 #99A624 #24A672
square
#3124A6 #A62458 #99A624 #24A672
split-complementary
#3124A6 #A67224 #58A624
monochromatic
#130E41 #221974 #3124A6 #4434D3 #7266DE

Accessibility & contrast

On white

10.86
#3124A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3124A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124A6
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A6#FFFFFF#000000##FFFFFF
##3124A61.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3124a6;
/* rgb */ color: rgb(49, 36, 166);
/* oklch */ color: oklch(38.0% 0.195 276.3);
Tailwind
colors: {
  custom: {
    50: '#7b62c2',
    500: '#3124a6',
    950: '#000000',
  },
}
SCSS
$custom: #3124a6;
$custom-light: #7b62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a6",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 246,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.19464,
    "h": 276.3
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#3124A6
secondary
#BAC462
accent
#E740D7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3124A6

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

Preview Lab → · Contrast checker → · Palette generator →

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