#3124A5#3124A5

#3124A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.193 H 276.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#3124A5
RGBrgb(49, 36, 165)
HSLhsl(246, 64%, 39%)
HSVhsv(246, 78%, 65%)
CMYKcmyk(70.3%, 78.2%, 0%, 35.3%)
CIE-LABlab(25.66, 45.67, -66.51)
CIE-LCHlch(25.66, 80.68, 304.48°)
OKLaboklab(37.91% 0.0215 -0.1922)
OKLCHoklch(37.91% 0.193 276.4)
XYZxyz(8.6868, 4.6305, 36.0260)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A5 #98A524
analogous
#2457A5 #3124A5 #7224A5
triadic
#3124A5 #A53124 #24A531
tetradic
#3124A5 #A52457 #98A524 #24A572
square
#3124A5 #A52457 #98A524 #24A572
split-complementary
#3124A5 #A57224 #57A524
monochromatic
#130E41 #221973 #3124A5 #4434D3 #7266DE

Accessibility & contrast

On white

10.90
#3124A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3124A5
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A5#FFFFFF#000000##FFFFFF
##3124A51.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3124a5;
/* rgb */ color: rgb(49, 36, 165);
/* oklch */ color: oklch(37.9% 0.193 276.4);
Tailwind
colors: {
  custom: {
    50: '#7b62c1',
    500: '#3124a5',
    950: '#000000',
  },
}
SCSS
$custom: #3124a5;
$custom-light: #7b62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a5",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 246.047,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37913,
    "c": 0.19345,
    "h": 276.4
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3124A5

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

Preview Lab → · Contrast checker → · Palette generator →

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