#3135CF#3135CF

#3135CF is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.228 H 271.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3135CF
RGBrgb(49, 53, 207)
HSLhsl(238, 62%, 50%)
HSVhsv(238, 76%, 81%)
CMYKcmyk(76.3%, 74.4%, 0%, 18.8%)
CIE-LABlab(33.36, 50.04, -78.67)
CIE-LCHlch(33.36, 93.24, 302.46°)
OKLaboklab(44.67% 0.0055 -0.2278)
OKLCHoklch(44.67% 0.228 271.4)
XYZxyz(13.7984, 7.7027, 59.7789)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135CF #CFCB31
analogous
#3184CF #3135CF #7C31CF
triadic
#3135CF #CF3135 #35CF31
tetradic
#3135CF #CF3184 #CFCB31 #31CF7C
square
#3135CF #CF3184 #CFCB31 #31CF7C
split-complementary
#3135CF #CF7C31 #84CF31
monochromatic
#191B6C #25289E #3135CF #6366DB #9496E6

Accessibility & contrast

On white

8.27
#3135CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3135CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3135CF#FFFFFF#000000##FFFFFF
##3135CF1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D3
Deuteranopia (green-blind)
#0047CC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3135cf;
/* rgb */ color: rgb(49, 53, 207);
/* oklch */ color: oklch(44.7% 0.228 271.4);
Tailwind
colors: {
  custom: {
    50: '#836edf',
    500: '#3135cf',
    950: '#000000',
  },
}
SCSS
$custom: #3135cf;
$custom-light: #836edf;
$custom-dark: #000000;
JSON
{
  "hex": "#3135cf",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 238.481,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.22784,
    "h": 271.4
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#3135CF
secondary
#D1CF8B
accent
#E143E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3135CF

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

Preview Lab → · Contrast checker → · Palette generator →

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