#3124B1#3124B1

#3124B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.208 H 275.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3124B1
RGBrgb(49, 36, 177)
HSLhsl(246, 66%, 42%)
HSVhsv(246, 80%, 69%)
CMYKcmyk(72.3%, 79.7%, 0%, 30.6%)
CIE-LABlab(26.98, 49.43, -71.54)
CIE-LCHlch(26.98, 86.95, 304.64°)
OKLaboklab(39.23% 0.0185 -0.2068)
OKLCHoklch(39.23% 0.208 275.1)
XYZxyz(9.8307, 5.0881, 42.0505)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124B1 #A4B124
analogous
#245EB1 #3124B1 #7824B1
triadic
#3124B1 #B13124 #24B131
tetradic
#3124B1 #B1245E #A4B124 #24B178
square
#3124B1 #B1245E #A4B124 #24B178
split-complementary
#3124B1 #B17824 #5EB124
monochromatic
#150F4B #231A7E #3124B1 #493BD7 #796EE1

Accessibility & contrast

On white

10.41
#3124B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3124B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124B1
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124B1#FFFFFF#000000##FFFFFF
##3124B11.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3124b1;
/* rgb */ color: rgb(49, 36, 177);
/* oklch */ color: oklch(39.2% 0.208 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e63ca',
    500: '#3124b1',
    950: '#000000',
  },
}
SCSS
$custom: #3124b1;
$custom-light: #7e63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3124b1",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 245.532,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39232,
    "c": 0.20767,
    "h": 275.1
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#3124B1
secondary
#BFC869
accent
#E93FD9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3124B1

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

Preview Lab → · Contrast checker → · Palette generator →

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