#3121AF#3121AF

#3121AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.7% C 0.208 H 275.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3121AF
RGBrgb(49, 33, 175)
HSLhsl(247, 68%, 41%)
HSVhsv(247, 81%, 69%)
CMYKcmyk(72%, 81.1%, 0%, 31.4%)
CIE-LABlab(26.26, 50.26, -71.54)
CIE-LCHlch(26.26, 87.43, 305.09°)
OKLaboklab(38.66% 0.0202 -0.2068)
OKLCHoklch(38.66% 0.208 275.6)
XYZxyz(9.5458, 4.8349, 40.9793)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121AF #9FAF21
analogous
#2158AF #3121AF #7821AF
triadic
#3121AF #AF3121 #21AF31
tetradic
#3121AF #AF2158 #9FAF21 #21AF78
square
#3121AF #AF2158 #9FAF21 #21AF78
split-complementary
#3121AF #AF7821 #58AF21
monochromatic
#140E48 #23177C #3121AF #4734D9 #7668E3

Accessibility & contrast

On white

10.68
#3121AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3121AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3121AF
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3121AF#FFFFFF#000000##FFFFFF
##3121AF1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3121af;
/* rgb */ color: rgb(49, 33, 175);
/* oklch */ color: oklch(38.7% 0.208 275.6);
Tailwind
colors: {
  custom: {
    50: '#7e61c8',
    500: '#3121af',
    950: '#000000',
  },
}
SCSS
$custom: #3121af;
$custom-light: #7e61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3121af",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 246.761,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.2078,
    "h": 275.6
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#3121AF
secondary
#BDC864
accent
#EB3DD7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3121AF

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

Preview Lab → · Contrast checker → · Palette generator →

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