#3135AE#3135AE

#3135AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.187 H 273.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3135AE
RGBrgb(49, 53, 174)
HSLhsl(238, 56%, 44%)
HSVhsv(238, 72%, 68%)
CMYKcmyk(71.8%, 69.5%, 0%, 31.8%)
CIE-LABlab(30.04, 38.96, -64.69)
CIE-LCHlch(30.04, 75.52, 301.06°)
OKLaboklab(41.31% 0.0104 -0.187)
OKLCHoklch(41.31% 0.187 273.2)
XYZxyz(10.1771, 6.2542, 40.7070)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135AE #AEAA31
analogous
#3173AE #3135AE #6B31AE
triadic
#3135AE #AE3135 #35AE31
tetradic
#3135AE #AE3173 #AEAA31 #31AE6B
square
#3135AE #AE3173 #AEAA31 #31AE6B
split-complementary
#3135AE #AE6B31 #73AE31
monochromatic
#16184E #24267E #3135AE #4F53CD #7F82DB

Accessibility & contrast

On white

9.33
#3135AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3135AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3135AE#FFFFFF#000000##FFFFFF
##3135AE1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3135ae;
/* rgb */ color: rgb(49, 53, 174);
/* oklch */ color: oklch(41.3% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#7c6dc7',
    500: '#3135ae',
    950: '#000000',
  },
}
SCSS
$custom: #3135ae;
$custom-light: #7c6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3135ae",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 238.08,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.18733,
    "h": 273.2
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#3135AE
secondary
#C4C177
accent
#DB48DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3135AE

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

Preview Lab → · Contrast checker → · Palette generator →

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