#3133A8#3133A8

#3133A8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.182 H 273.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3133A8
RGBrgb(49, 51, 168)
HSLhsl(239, 55%, 43%)
HSVhsv(239, 71%, 66%)
CMYKcmyk(70.8%, 69.6%, 0%, 34.1%)
CIE-LABlab(29.02, 38.11, -62.77)
CIE-LCHlch(29.02, 73.43, 301.26°)
OKLaboklab(40.4% 0.0124 -0.1814)
OKLCHoklch(40.4% 0.182 273.9)
XYZxyz(9.5160, 5.8469, 37.6653)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133A8 #A8A631
analogous
#316EA8 #3133A8 #6B31A8
triadic
#3133A8 #A83133 #33A831
tetradic
#3133A8 #A8316E #A8A631 #31A86B
square
#3133A8 #A8316E #A8A631 #31A86B
split-complementary
#3133A8 #A86B31 #6EA831
monochromatic
#151649 #232579 #3133A8 #4C4ECB #7B7CD8

Accessibility & contrast

On white

9.68
#3133A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3133A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133A8
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133A8#FFFFFF#000000##FFFFFF
##3133A81.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3133a8;
/* rgb */ color: rgb(49, 51, 168);
/* oklch */ color: oklch(40.4% 0.182 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a6bc3',
    500: '#3133a8',
    950: '#000000',
  },
}
SCSS
$custom: #3133a8;
$custom-light: #7a6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3133a8",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 238.992,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.404,
    "c": 0.18186,
    "h": 273.9
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#3133A8
secondary
#C1C074
accent
#DC4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3133A8

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

Preview Lab → · Contrast checker → · Palette generator →

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