#3124A3#3124A3

#3124A3 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.191 H 276.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#3124A3
RGBrgb(49, 36, 163)
HSLhsl(246, 64%, 39%)
HSVhsv(246, 78%, 64%)
CMYKcmyk(69.9%, 77.9%, 0%, 36.1%)
CIE-LABlab(25.44, 45.04, -65.66)
CIE-LCHlch(25.44, 79.62, 304.45°)
OKLaboklab(37.7% 0.022 -0.1898)
OKLCHoklch(37.7% 0.191 276.6)
XYZxyz(8.5062, 4.5583, 35.0748)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A3 #96A324
analogous
#2457A3 #3124A3 #7124A3
triadic
#3124A3 #A33124 #24A331
tetradic
#3124A3 #A32457 #96A324 #24A371
square
#3124A3 #A32457 #96A324 #24A371
split-complementary
#3124A3 #A37124 #57A324
monochromatic
#130E3F #221971 #3124A3 #4332D2 #7165DD

Accessibility & contrast

On white

10.98
#3124A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3124A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124A3
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A3#FFFFFF#000000##FFFFFF
##3124A31.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3124a3;
/* rgb */ color: rgb(49, 36, 163);
/* oklch */ color: oklch(37.7% 0.191 276.6);
Tailwind
colors: {
  custom: {
    50: '#7b62c0',
    500: '#3124a3',
    950: '#000000',
  },
}
SCSS
$custom: #3124a3;
$custom-light: #7b62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a3",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 246.142,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37696,
    "c": 0.19104,
    "h": 276.6
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3124A3

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

Preview Lab → · Contrast checker → · Palette generator →

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