#3124B7#3124B7

#3124B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.215 H 274.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3124B7
RGBrgb(49, 36, 183)
HSLhsl(245, 67%, 43%)
HSVhsv(245, 80%, 72%)
CMYKcmyk(73.2%, 80.3%, 0%, 28.2%)
CIE-LABlab(27.66, 51.27, -73.99)
CIE-LCHlch(27.66, 90.02, 304.72°)
OKLaboklab(39.9% 0.017 -0.214)
OKLCHoklch(39.9% 0.215 274.5)
XYZxyz(10.4419, 5.3326, 45.2696)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124B7 #AAB724
analogous
#2460B7 #3124B7 #7A24B7
triadic
#3124B7 #B73124 #24B731
tetradic
#3124B7 #B72460 #AAB724 #24B77A
square
#3124B7 #B72460 #AAB724 #24B77A
split-complementary
#3124B7 #B77A24 #60B724
monochromatic
#161051 #231A84 #3124B7 #4D3FD9 #7C72E3

Accessibility & contrast

On white

10.16
#3124B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3124B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124B7
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124B7#FFFFFF#000000##FFFFFF
##3124B71.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3124b7;
/* rgb */ color: rgb(49, 36, 183);
/* oklch */ color: oklch(39.9% 0.215 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f63ce',
    500: '#3124b7',
    950: '#000000',
  },
}
SCSS
$custom: #3124b7;
$custom-light: #7f63ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3124b7",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 183
  },
  "hsl": {
    "h": 245.306,
    "s": 67.123,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.21466,
    "h": 274.5
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#3124B7
secondary
#C2CA6D
accent
#EA3EDB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3124B7

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

Preview Lab → · Contrast checker → · Palette generator →

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