#3121A0#3121A0

#3121A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.190 H 277.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#3121A0
RGBrgb(49, 33, 160)
HSLhsl(248, 66%, 38%)
HSVhsv(248, 79%, 63%)
CMYKcmyk(69.4%, 79.4%, 0%, 37.3%)
CIE-LABlab(24.57, 45.65, -65.27)
CIE-LCHlch(24.57, 79.64, 304.97°)
OKLaboklab(36.99% 0.0243 -0.1886)
OKLCHoklch(36.99% 0.19 277.3)
XYZxyz(8.1536, 4.2780, 33.6469)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121A0 #90A021
analogous
#2150A0 #3121A0 #7021A0
triadic
#3121A0 #A03121 #21A031
tetradic
#3121A0 #A02150 #90A021 #21A070
square
#3121A0 #A02150 #90A021 #21A070
split-complementary
#3121A0 #A07021 #50A021
monochromatic
#120C3B #21176D #3121A0 #412BD3 #6E5EDE

Accessibility & contrast

On white

11.32
#3121A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3121A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3121A0
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3121A0#FFFFFF#000000##FFFFFF
##3121A01.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3121a0;
/* rgb */ color: rgb(49, 33, 160);
/* oklch */ color: oklch(37.0% 0.190 277.3);
Tailwind
colors: {
  custom: {
    50: '#7a60bd',
    500: '#3121a0',
    950: '#000000',
  },
}
SCSS
$custom: #3121a0;
$custom-light: #7a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3121a0",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 247.559,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36992,
    "c": 0.19014,
    "h": 277.3
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#3121A0
secondary
#B5C25B
accent
#E93FD3
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3121A0

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

Preview Lab → · Contrast checker → · Palette generator →

#3121A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva