#3124BF#3124BF

#3124BF is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.224 H 273.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3124BF
RGBrgb(49, 36, 191)
HSLhsl(245, 68%, 45%)
HSVhsv(245, 81%, 75%)
CMYKcmyk(74.3%, 81.2%, 0%, 25.1%)
CIE-LABlab(28.58, 53.70, -77.22)
CIE-LCHlch(28.58, 94.05, 304.82°)
OKLaboklab(40.8% 0.0149 -0.2233)
OKLCHoklch(40.8% 0.224 273.8)
XYZxyz(11.2983, 5.6751, 49.7801)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124BF #B2BF24
analogous
#2465BF #3124BF #7E24BF
triadic
#3124BF #BF3124 #24BF31
tetradic
#3124BF #BF2465 #B2BF24 #24BF7E
square
#3124BF #BF2465 #B2BF24 #24BF7E
split-complementary
#3124BF #BF7E24 #65BF24
monochromatic
#171158 #241A8C #3124BF #5144DC #8178E6

Accessibility & contrast

On white

9.84
#3124BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3124BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124BF
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124BF#FFFFFF#000000##FFFFFF
##3124BF1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC3
Deuteranopia (green-blind)
#003CBC
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3124bf;
/* rgb */ color: rgb(49, 36, 191);
/* oklch */ color: oklch(40.8% 0.224 273.8);
Tailwind
colors: {
  custom: {
    50: '#8163d4',
    500: '#3124bf',
    950: '#000000',
  },
}
SCSS
$custom: #3124bf;
$custom-light: #8163d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3124bf",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 191
  },
  "hsl": {
    "h": 245.032,
    "s": 68.282,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.22384,
    "h": 273.8
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#3124BF
secondary
#C5CD72
accent
#EB3DDD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3124BF

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

Preview Lab → · Contrast checker → · Palette generator →

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