#3030AF#3030AF

#3030AF is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.194 H 273.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3030AF
RGBrgb(48, 48, 175)
HSLhsl(240, 57%, 44%)
HSVhsv(240, 73%, 69%)
CMYKcmyk(72.6%, 72.6%, 0%, 31.4%)
CIE-LABlab(29.00, 42.18, -67.02)
CIE-LCHlch(29.00, 79.19, 302.19°)
OKLaboklab(40.57% 0.012 -0.1938)
OKLCHoklch(40.57% 0.194 273.5)
XYZxyz(10.0112, 5.8364, 41.1481)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030AF #AFAF30
analogous
#306FAF #3030AF #6F30AF
triadic
#3030AF #AF3030 #30AF30
tetradic
#3030AF #AF306F #AFAF30 #30AF6F
square
#3030AF #AF306F #AFAF30 #30AF6F
split-complementary
#3030AF #AF6F30 #6FAF30
monochromatic
#16164F #23237F #3030AF #4E4ECE #7E7EDC

Accessibility & contrast

On white

9.69
#3030AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3030AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030AF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030AF#FFFFFF#000000##FFFFFF
##3030AF1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3030af;
/* rgb */ color: rgb(48, 48, 175);
/* oklch */ color: oklch(40.6% 0.194 273.5);
Tailwind
colors: {
  custom: {
    50: '#7c6ac8',
    500: '#3030af',
    950: '#000000',
  },
}
SCSS
$custom: #3030af;
$custom-light: #7c6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3030af",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40571,
    "c": 0.19422,
    "h": 273.5
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#3030AF
secondary
#C4C476
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3030AF

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

Preview Lab → · Contrast checker → · Palette generator →

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