#3035B8#3035B8

#3035B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.2% C 0.200 H 272.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#3035B8
RGBrgb(48, 53, 184)
HSLhsl(238, 59%, 45%)
HSVhsv(238, 74%, 72%)
CMYKcmyk(73.9%, 71.2%, 0%, 27.8%)
CIE-LABlab(30.96, 42.29, -69.14)
CIE-LCHlch(30.96, 81.05, 301.45°)
OKLaboklab(42.25% 0.0079 -0.2)
OKLCHoklch(42.25% 0.2 272.3)
XYZxyz(11.1408, 6.6341, 46.0315)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035B8 #B8B330
analogous
#3079B8 #3035B8 #6F30B8
triadic
#3035B8 #B83035 #35B830
tetradic
#3035B8 #B83079 #B8B330 #30B86F
square
#3035B8 #B83079 #B8B330 #30B86F
split-complementary
#3035B8 #B86F30 #79B830
monochromatic
#171957 #232787 #3035B8 #5358D2 #8487DF

Accessibility & contrast

On white

9.02
#3035B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3035B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3035B8#FFFFFF#000000##FFFFFF
##3035B81.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3035b8;
/* rgb */ color: rgb(48, 53, 184);
/* oklch */ color: oklch(42.2% 0.200 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d6dcf',
    500: '#3035b8',
    950: '#000000',
  },
}
SCSS
$custom: #3035b8;
$custom-light: #7d6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3035b8",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 237.794,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.20021,
    "h": 272.3
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#3035B8
secondary
#C8C57C
accent
#DC46E2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3035B8

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

Preview Lab → · Contrast checker → · Palette generator →

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