#3135AA#3135AA

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

Color values

HEX#3135AA
RGBrgb(49, 53, 170)
HSLhsl(238, 55%, 43%)
HSVhsv(238, 71%, 67%)
CMYKcmyk(71.2%, 68.8%, 0%, 33.3%)
CIE-LABlab(29.66, 37.57, -62.92)
CIE-LCHlch(29.66, 73.28, 300.84°)
OKLaboklab(40.92% 0.0109 -0.1819)
OKLCHoklch(40.92% 0.182 273.4)
XYZxyz(9.7930, 6.1005, 38.6838)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135AA #AAA631
analogous
#3171AA #3135AA #6A31AA
triadic
#3135AA #AA3135 #35AA31
tetradic
#3135AA #AA3171 #AAA631 #31AA6A
square
#3135AA #AA3171 #AAA631 #31AA6A
split-complementary
#3135AA #AA6A31 #71AA31
monochromatic
#16174B #23267A #3135AA #4D51CC #7C7FD9

Accessibility & contrast

On white

9.46
#3135AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3135AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3135AA#FFFFFF#000000##FFFFFF
##3135AA1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3135aa;
/* rgb */ color: rgb(49, 53, 170);
/* oklch */ color: oklch(40.9% 0.182 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b6dc4',
    500: '#3135aa',
    950: '#000000',
  },
}
SCSS
$custom: #3135aa;
$custom-light: #7b6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3135aa",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 238.017,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.18219,
    "h": 273.4
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3135AA

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

Preview Lab → · Contrast checker → · Palette generator →

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