#3135AB#3135AB

#3135AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.183 H 273.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3135AB
RGBrgb(49, 53, 171)
HSLhsl(238, 55%, 43%)
HSVhsv(238, 71%, 67%)
CMYKcmyk(71.3%, 69%, 0%, 32.9%)
CIE-LABlab(29.76, 37.92, -63.36)
CIE-LCHlch(29.76, 73.84, 300.90°)
OKLaboklab(41.02% 0.0108 -0.1832)
OKLCHoklch(41.02% 0.183 273.4)
XYZxyz(9.8880, 6.1385, 39.1839)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135AB #ABA731
analogous
#3172AB #3135AB #6A31AB
triadic
#3135AB #AB3135 #35AB31
tetradic
#3135AB #AB3172 #ABA731 #31AB6A
square
#3135AB #AB3172 #ABA731 #31AB6A
split-complementary
#3135AB #AB6A31 #72AB31
monochromatic
#16184C #23267B #3135AB #4D51CC #7D80DA

Accessibility & contrast

On white

9.43
#3135AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3135AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135AB
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135AB#FFFFFF#000000##FFFFFF
##3135AB1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3135ab;
/* rgb */ color: rgb(49, 53, 171);
/* oklch */ color: oklch(41.0% 0.183 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b6dc5',
    500: '#3135ab',
    950: '#000000',
  },
}
SCSS
$custom: #3135ab;
$custom-light: #7b6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3135ab",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 238.033,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41018,
    "c": 0.18348,
    "h": 273.4
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#3135AB
secondary
#C2C075
accent
#DA49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3135AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3135AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva