#3124A2#3124A2

#3124A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.190 H 276.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3124A2
RGBrgb(49, 36, 162)
HSLhsl(246, 64%, 39%)
HSVhsv(246, 78%, 64%)
CMYKcmyk(69.8%, 77.8%, 0%, 36.5%)
CIE-LABlab(25.33, 44.72, -65.23)
CIE-LCHlch(25.33, 79.09, 304.44°)
OKLaboklab(37.59% 0.0222 -0.1885)
OKLCHoklch(37.59% 0.19 276.7)
XYZxyz(8.4170, 4.5226, 34.6048)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A2 #95A224
analogous
#2456A2 #3124A2 #7024A2
triadic
#3124A2 #A23124 #24A231
tetradic
#3124A2 #A22456 #95A224 #24A270
square
#3124A2 #A22456 #95A224 #24A270
split-complementary
#3124A2 #A27024 #56A224
monochromatic
#130E3E #221970 #3124A2 #4232D1 #7064DD

Accessibility & contrast

On white

11.03
#3124A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3124A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124A2
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A2#FFFFFF#000000##FFFFFF
##3124A21.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0037A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3124a2;
/* rgb */ color: rgb(49, 36, 162);
/* oklch */ color: oklch(37.6% 0.190 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a62bf',
    500: '#3124a2',
    950: '#000000',
  },
}
SCSS
$custom: #3124a2;
$custom-light: #7a62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a2",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 246.19,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.18983,
    "h": 276.7
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#3124A2
secondary
#B8C260
accent
#E741D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3124A2

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

Preview Lab → · Contrast checker → · Palette generator →

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