#3124A0#3124A0

#3124A0 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.187 H 277.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3124A0
RGBrgb(49, 36, 160)
HSLhsl(246, 63%, 38%)
HSVhsv(246, 78%, 63%)
CMYKcmyk(69.4%, 77.5%, 0%, 37.3%)
CIE-LABlab(25.11, 44.09, -64.37)
CIE-LCHlch(25.11, 78.02, 304.41°)
OKLaboklab(37.37% 0.0227 -0.186)
OKLCHoklch(37.37% 0.187 277)
XYZxyz(8.2406, 4.4520, 33.6759)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A0 #93A024
analogous
#2455A0 #3124A0 #6F24A0
triadic
#3124A0 #A03124 #24A031
tetradic
#3124A0 #A02455 #93A024 #24A06F
square
#3124A0 #A02455 #93A024 #24A06F
split-complementary
#3124A0 #A06F24 #55A024
monochromatic
#120E3C #22196E #3124A0 #4131D1 #6F63DC

Accessibility & contrast

On white

11.11
#3124A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3124A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124A0
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A0#FFFFFF#000000##FFFFFF
##3124A01.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3124a0;
/* rgb */ color: rgb(49, 36, 160);
/* oklch */ color: oklch(37.4% 0.187 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a62bd',
    500: '#3124a0',
    950: '#000000',
  },
}
SCSS
$custom: #3124a0;
$custom-light: #7a62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a0",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 246.29,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37372,
    "c": 0.1874,
    "h": 277
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3124A0

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

Preview Lab → · Contrast checker → · Palette generator →

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