#3035AA#3035AA

#3035AA is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.182 H 273.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#3035AA
RGBrgb(48, 53, 170)
HSLhsl(238, 56%, 43%)
HSVhsv(238, 72%, 67%)
CMYKcmyk(71.8%, 68.8%, 0%, 33.3%)
CIE-LABlab(29.60, 37.46, -63.02)
CIE-LCHlch(29.60, 73.31, 300.72°)
OKLaboklab(40.86% 0.0098 -0.1822)
OKLCHoklch(40.86% 0.182 273.1)
XYZxyz(9.7453, 6.0759, 38.6816)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035AA #AAA530
analogous
#3072AA #3035AA #6830AA
triadic
#3035AA #AA3035 #35AA30
tetradic
#3035AA #AA3072 #AAA530 #30AA68
square
#3035AA #AA3072 #AAA530 #30AA68
split-complementary
#3035AA #AA6830 #72AA30
monochromatic
#15174B #23267A #3035AA #4B50CC #7B7FDA

Accessibility & contrast

On white

9.48
#3035AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3035AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3035AA#FFFFFF#000000##FFFFFF
##3035AA1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3035aa;
/* rgb */ color: rgb(48, 53, 170);
/* oklch */ color: oklch(40.9% 0.182 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a6dc4',
    500: '#3035aa',
    950: '#000000',
  },
}
SCSS
$custom: #3035aa;
$custom-light: #7a6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3035aa",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 237.541,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.18245,
    "h": 273.1
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#3035AA
secondary
#C2BF74
accent
#D949DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3035AA

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

Preview Lab → · Contrast checker → · Palette generator →

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