#3124BD#3124BD

#3124BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.222 H 274.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3124BD
RGBrgb(49, 36, 189)
HSLhsl(245, 68%, 44%)
HSVhsv(245, 81%, 74%)
CMYKcmyk(74.1%, 81%, 0%, 25.9%)
CIE-LABlab(28.35, 53.10, -76.42)
CIE-LCHlch(28.35, 93.05, 304.79°)
OKLaboklab(40.58% 0.0154 -0.221)
OKLCHoklch(40.58% 0.222 274)
XYZxyz(11.0798, 5.5877, 48.6289)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124BD #B0BD24
analogous
#2464BD #3124BD #7E24BD
triadic
#3124BD #BD3124 #24BD31
tetradic
#3124BD #BD2464 #B0BD24 #24BD7E
square
#3124BD #BD2464 #B0BD24 #24BD7E
split-complementary
#3124BD #BD7E24 #64BD24
monochromatic
#161056 #241A8A #3124BD #5043DB #8076E5

Accessibility & contrast

On white

9.92
#3124BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3124BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124BD
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124BD#FFFFFF#000000##FFFFFF
##3124BD1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3124bd;
/* rgb */ color: rgb(49, 36, 189);
/* oklch */ color: oklch(40.6% 0.222 274.0);
Tailwind
colors: {
  custom: {
    50: '#8063d2',
    500: '#3124bd',
    950: '#000000',
  },
}
SCSS
$custom: #3124bd;
$custom-light: #8063d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3124bd",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 245.098,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.22156,
    "h": 274
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#3124BD
secondary
#C5CC70
accent
#EB3DDC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3124BD

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

Preview Lab → · Contrast checker → · Palette generator →

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