#303670#303670

#303670 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.099 H 275.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#303670
RGBrgb(48, 54, 112)
HSLhsl(234, 40%, 31%)
HSVhsv(234, 57%, 44%)
CMYKcmyk(57.1%, 51.8%, 0%, 56.1%)
CIE-LABlab(25.06, 15.95, -34.51)
CIE-LCHlch(25.06, 38.01, 294.80°)
OKLaboklab(36.01% 0.01 -0.0985)
OKLCHoklch(36.01% 0.099 275.8)
XYZxyz(5.4618, 4.4362, 15.8946)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303670 #706A30
analogous
#305670 #303670 #4A3070
triadic
#303670 #703036 #367030
tetradic
#303670 #703056 #706A30 #30704A
square
#303670 #703056 #706A30 #30704A
split-complementary
#303670 #704A30 #567030
monochromatic
#0B0D1A #1E2145 #303670 #424B9B #6068BB

Accessibility & contrast

On white

11.13
#303670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#303670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303670
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303670#FFFFFF#000000##FFFFFF
##3036701.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E72
Deuteranopia (green-blind)
#11396F
Tritanopia (blue-blind)
#10434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #303670;
/* rgb */ color: rgb(48, 54, 112);
/* oklch */ color: oklch(36.0% 0.099 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e6c99',
    500: '#303670',
    950: '#000000',
  },
}
SCSS
$custom: #303670;
$custom-light: #6e6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#303670",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 112
  },
  "hsl": {
    "h": 234.375,
    "s": 40,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.09897,
    "h": 275.8
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#303670
secondary
#A19B5B
accent
#C558D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #303670

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

Preview Lab → · Contrast checker → · Palette generator →

#303670 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva