#3124B5#3124B5

#3124B5 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.212 H 274.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3124B5
RGBrgb(49, 36, 181)
HSLhsl(245, 67%, 43%)
HSVhsv(245, 80%, 71%)
CMYKcmyk(72.9%, 80.1%, 0%, 29%)
CIE-LABlab(27.44, 50.66, -73.18)
CIE-LCHlch(27.44, 89.00, 304.69°)
OKLaboklab(39.68% 0.0175 -0.2116)
OKLCHoklch(39.68% 0.212 274.7)
XYZxyz(10.2352, 5.2499, 44.1810)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124B5 #A8B524
analogous
#2460B5 #3124B5 #7924B5
triadic
#3124B5 #B53124 #24B531
tetradic
#3124B5 #B52460 #A8B524 #24B579
square
#3124B5 #B52460 #A8B524 #24B579
split-complementary
#3124B5 #B57924 #60B524
monochromatic
#15104F #231A82 #3124B5 #4C3ED9 #7B71E3

Accessibility & contrast

On white

10.24
#3124B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3124B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124B5
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124B5#FFFFFF#000000##FFFFFF
##3124B51.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B9
Deuteranopia (green-blind)
#003AB3
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3124b5;
/* rgb */ color: rgb(49, 36, 181);
/* oklch */ color: oklch(39.7% 0.212 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f63cd',
    500: '#3124b5',
    950: '#000000',
  },
}
SCSS
$custom: #3124b5;
$custom-light: #7f63cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3124b5",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 245.379,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.21234,
    "h": 274.7
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#3124B5
secondary
#C1C96B
accent
#EA3EDA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3124B5

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

Preview Lab → · Contrast checker → · Palette generator →

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