#3124A1#3124A1

#3124A1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.189 H 276.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#3124A1
RGBrgb(49, 36, 161)
HSLhsl(246, 63%, 39%)
HSVhsv(246, 78%, 63%)
CMYKcmyk(69.6%, 77.6%, 0%, 36.9%)
CIE-LABlab(25.22, 44.40, -64.80)
CIE-LCHlch(25.22, 78.55, 304.42°)
OKLaboklab(37.48% 0.0225 -0.1873)
OKLCHoklch(37.48% 0.189 276.8)
XYZxyz(8.3284, 4.4872, 34.1385)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A1 #94A124
analogous
#2455A1 #3124A1 #6F24A1
triadic
#3124A1 #A13124 #24A131
tetradic
#3124A1 #A12455 #94A124 #24A16F
square
#3124A1 #A12455 #94A124 #24A16F
split-complementary
#3124A1 #A16F24 #55A124
monochromatic
#130E3D #22196F #3124A1 #4231D1 #7063DC

Accessibility & contrast

On white

11.07
#3124A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3124A1
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A1#FFFFFF#000000##FFFFFF
##3124A11.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3124a1;
/* rgb */ color: rgb(49, 36, 161);
/* oklch */ color: oklch(37.5% 0.189 276.8);
Tailwind
colors: {
  custom: {
    50: '#7a62be',
    500: '#3124a1',
    950: '#000000',
  },
}
SCSS
$custom: #3124a1;
$custom-light: #7a62be;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a1",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 246.24,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3748,
    "c": 0.18861,
    "h": 276.8
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#3124A1
secondary
#B7C25F
accent
#E641D5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3124A1

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

Preview Lab → · Contrast checker → · Palette generator →

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