#304563#304563

#304563 is a dark, muted blue. Relative luminance 0.058; OKLCH L 38.7% C 0.058 H 257.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#304563
RGBrgb(48, 69, 99)
HSLhsl(215, 35%, 29%)
HSVhsv(215, 52%, 39%)
CMYKcmyk(51.5%, 30.3%, 0%, 61.2%)
CIE-LABlab(28.86, 1.16, -20.17)
CIE-LCHlch(28.86, 20.20, 273.30°)
OKLaboklab(38.69% -0.0127 -0.0565)
OKLCHoklch(38.69% 0.058 257.3)
XYZxyz(5.5984, 5.7851, 12.6236)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304563 #634E30
analogous
#305F63 #304563 #353063
triadic
#304563 #633045 #456330
tetradic
#304563 #63305F #634E30 #306335
square
#304563 #63305F #634E30 #306335
split-complementary
#304563 #633530 #5F6330
monochromatic
#0A0E15 #1C283A #304563 #44628C #5D7FB0

Accessibility & contrast

On white

9.74
#304563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#304563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304563
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304563#FFFFFF#000000##FFFFFF
##3045631.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394764
Deuteranopia (green-blind)
#334262
Tritanopia (blue-blind)
#1A4C50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304563;
/* rgb */ color: rgb(48, 69, 99);
/* oklch */ color: oklch(38.7% 0.058 257.3);
Tailwind
colors: {
  custom: {
    50: '#6c788f',
    500: '#304563',
    950: '#000000',
  },
}
SCSS
$custom: #304563;
$custom-light: #6c788f;
$custom-dark: #000000;
JSON
{
  "hex": "#304563",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 99
  },
  "hsl": {
    "h": 215.294,
    "s": 34.694,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38691,
    "c": 0.0579,
    "h": 257.3
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#304563
secondary
#947D5A
accent
#9E5DCB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #304563

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

Preview Lab → · Contrast checker → · Palette generator →

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