#3122B3#3122B3

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

Color values

HEX#3122B3
RGBrgb(49, 34, 179)
HSLhsl(246, 68%, 42%)
HSVhsv(246, 81%, 70%)
CMYKcmyk(72.6%, 81%, 0%, 29.8%)
CIE-LABlab(26.88, 51.01, -72.91)
CIE-LCHlch(26.88, 88.98, 304.98°)
OKLaboklab(39.23% 0.0187 -0.2108)
OKLCHoklch(39.23% 0.212 275.1)
XYZxyz(9.9727, 5.0507, 43.0884)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3122B3 #A4B322
analogous
#225CB3 #3122B3 #7A22B3
triadic
#3122B3 #B33122 #22B331
tetradic
#3122B3 #B3225C #A4B322 #22B37A
square
#3122B3 #B3225C #A4B322 #22B37A
split-complementary
#3122B3 #B37A22 #5CB322
monochromatic
#150E4C #231880 #3122B3 #4939D9 #796CE3

Accessibility & contrast

On white

10.45
#3122B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3122B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3122B3
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3122B3#FFFFFF#000000##FFFFFF
##3122B31.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3122b3;
/* rgb */ color: rgb(49, 34, 179);
/* oklch */ color: oklch(39.2% 0.212 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e62cb',
    500: '#3122b3',
    950: '#000000',
  },
}
SCSS
$custom: #3122b3;
$custom-light: #7e62cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3122b3",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 246.207,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39225,
    "c": 0.21163,
    "h": 275.1
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#3122B3
secondary
#BFC968
accent
#EB3DD9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3122B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3122B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva