#3135AF#3135AF

#3135AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.189 H 273.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3135AF
RGBrgb(49, 53, 175)
HSLhsl(238, 56%, 44%)
HSVhsv(238, 72%, 69%)
CMYKcmyk(72%, 69.7%, 0%, 31.4%)
CIE-LABlab(30.14, 39.30, -65.13)
CIE-LCHlch(30.14, 76.07, 301.11°)
OKLaboklab(41.41% 0.0103 -0.1883)
OKLCHoklch(41.41% 0.189 273.1)
XYZxyz(10.2750, 6.2933, 41.2224)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135AF #AFAB31
analogous
#3174AF #3135AF #6C31AF
triadic
#3135AF #AF3135 #35AF31
tetradic
#3135AF #AF3174 #AFAB31 #31AF6C
square
#3135AF #AF3174 #AFAB31 #31AF6C
split-complementary
#3135AF #AF6C31 #74AF31
monochromatic
#16184F #24277F #3135AF #4F53CE #7F82DB

Accessibility & contrast

On white

9.30
#3135AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3135AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3135AF#FFFFFF#000000##FFFFFF
##3135AF1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3135af;
/* rgb */ color: rgb(49, 53, 175);
/* oklch */ color: oklch(41.4% 0.189 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c6dc8',
    500: '#3135af',
    950: '#000000',
  },
}
SCSS
$custom: #3135af;
$custom-light: #7c6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3135af",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 238.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41409,
    "c": 0.18861,
    "h": 273.1
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#3135AF
secondary
#C4C278
accent
#DB48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3135AF

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

Preview Lab → · Contrast checker → · Palette generator →

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