#3035B1#3035B1

#3035B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.191 H 272.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3035B1
RGBrgb(48, 53, 177)
HSLhsl(238, 57%, 44%)
HSVhsv(238, 73%, 69%)
CMYKcmyk(72.9%, 70.1%, 0%, 30.6%)
CIE-LABlab(30.27, 39.89, -66.11)
CIE-LCHlch(30.27, 77.21, 301.10°)
OKLaboklab(41.55% 0.0089 -0.1912)
OKLCHoklch(41.55% 0.191 272.7)
XYZxyz(10.4252, 6.3479, 42.2623)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035B1 #B1AC30
analogous
#3076B1 #3035B1 #6B30B1
triadic
#3035B1 #B13035 #35B130
tetradic
#3035B1 #B13076 #B1AC30 #30B16B
square
#3035B1 #B13076 #B1AC30 #30B16B
split-complementary
#3035B1 #B16B30 #76B130
monochromatic
#161851 #232781 #3035B1 #4F54CF #7F83DC

Accessibility & contrast

On white

9.25
#3035B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3035B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035B1
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035B1#FFFFFF#000000##FFFFFF
##3035B11.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3035b1;
/* rgb */ color: rgb(48, 53, 177);
/* oklch */ color: oklch(41.5% 0.191 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c6dc9',
    500: '#3035b1',
    950: '#000000',
  },
}
SCSS
$custom: #3035b1;
$custom-light: #7c6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3035b1",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 237.674,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.19142,
    "h": 272.7
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#3035B1
secondary
#C5C278
accent
#DB47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3035B1

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

Preview Lab → · Contrast checker → · Palette generator →

#3035B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva