#3120A8#3120A8

#3120A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.200 H 276.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3120A8
RGBrgb(49, 32, 168)
HSLhsl(248, 68%, 39%)
HSVhsv(248, 81%, 66%)
CMYKcmyk(70.8%, 81%, 0%, 34.1%)
CIE-LABlab(25.30, 48.61, -68.92)
CIE-LCHlch(25.30, 84.33, 305.19°)
OKLaboklab(37.76% 0.0225 -0.1992)
OKLCHoklch(37.76% 0.2 276.5)
XYZxyz(8.8487, 4.5123, 37.4428)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3120A8 #97A820
analogous
#2053A8 #3120A8 #7520A8
triadic
#3120A8 #A83120 #20A831
tetradic
#3120A8 #A82053 #97A820 #20A875
square
#3120A8 #A82053 #97A820 #20A875
split-complementary
#3120A8 #A87520 #53A820
monochromatic
#130C41 #221675 #3120A8 #432ED7 #7161E1

Accessibility & contrast

On white

11.04
#3120A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3120A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3120A8
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3120A8#FFFFFF#000000##FFFFFF
##3120A81.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3120a8;
/* rgb */ color: rgb(49, 32, 168);
/* oklch */ color: oklch(37.8% 0.200 276.5);
Tailwind
colors: {
  custom: {
    50: '#7c60c3',
    500: '#3120a8',
    950: '#000000',
  },
}
SCSS
$custom: #3120a8;
$custom-light: #7c60c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3120a8",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 247.5,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37762,
    "c": 0.20046,
    "h": 276.5
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#3120A8
secondary
#B9C65E
accent
#EB3DD5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3120A8

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

Preview Lab → · Contrast checker → · Palette generator →

#3120A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva