#3135AD#3135AD

#3135AD is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.186 H 273.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3135AD
RGBrgb(49, 53, 173)
HSLhsl(238, 56%, 44%)
HSVhsv(238, 72%, 68%)
CMYKcmyk(71.7%, 69.4%, 0%, 32.2%)
CIE-LABlab(29.95, 38.61, -64.25)
CIE-LCHlch(29.95, 74.96, 301.01°)
OKLaboklab(41.21% 0.0106 -0.1857)
OKLCHoklch(41.21% 0.186 273.3)
XYZxyz(10.0800, 6.2153, 40.1955)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135AD #ADA931
analogous
#3173AD #3135AD #6B31AD
triadic
#3135AD #AD3135 #35AD31
tetradic
#3135AD #AD3173 #ADA931 #31AD6B
square
#3135AD #AD3173 #ADA931 #31AD6B
split-complementary
#3135AD #AD6B31 #73AD31
monochromatic
#16184E #23267D #3135AD #4E52CD #7E81DA

Accessibility & contrast

On white

9.36
#3135AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3135AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3135AD#FFFFFF#000000##FFFFFF
##3135AD1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3135ad;
/* rgb */ color: rgb(49, 53, 173);
/* oklch */ color: oklch(41.2% 0.186 273.3);
Tailwind
colors: {
  custom: {
    50: '#7b6dc7',
    500: '#3135ad',
    950: '#000000',
  },
}
SCSS
$custom: #3135ad;
$custom-light: #7b6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3135ad",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 238.065,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.18605,
    "h": 273.3
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3135AD

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

Preview Lab → · Contrast checker → · Palette generator →

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