#3122A0#3122A0

#3122A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.189 H 277.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#3122A0
RGBrgb(49, 34, 160)
HSLhsl(247, 65%, 38%)
HSVhsv(247, 79%, 63%)
CMYKcmyk(69.4%, 78.8%, 0%, 37.3%)
CIE-LABlab(24.75, 45.13, -64.97)
CIE-LCHlch(24.75, 79.11, 304.79°)
OKLaboklab(37.12% 0.0238 -0.1877)
OKLCHoklch(37.12% 0.189 277.2)
XYZxyz(8.1818, 4.3344, 33.6563)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3122A0 #91A022
analogous
#2252A0 #3122A0 #7022A0
triadic
#3122A0 #A03122 #22A031
tetradic
#3122A0 #A02252 #91A022 #22A070
square
#3122A0 #A02252 #91A022 #22A070
split-complementary
#3122A0 #A07022 #52A022
monochromatic
#120D3B #22176E #3122A0 #412DD2 #6E5FDD

Accessibility & contrast

On white

11.25
#3122A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3122A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3122A0
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3122A0#FFFFFF#000000##FFFFFF
##3122A01.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3122a0;
/* rgb */ color: rgb(49, 34, 160);
/* oklch */ color: oklch(37.1% 0.189 277.2);
Tailwind
colors: {
  custom: {
    50: '#7a60bd',
    500: '#3122a0',
    950: '#000000',
  },
}
SCSS
$custom: #3122a0;
$custom-light: #7a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3122a0",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 247.143,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37116,
    "c": 0.18925,
    "h": 277.2
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#3122A0
secondary
#B6C25C
accent
#E840D4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3122A0

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

Preview Lab → · Contrast checker → · Palette generator →

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