#304564#304564

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

Color values

HEX#304564
RGBrgb(48, 69, 100)
HSLhsl(216, 35%, 29%)
HSVhsv(216, 52%, 39%)
CMYKcmyk(52%, 31%, 0%, 60.8%)
CIE-LABlab(28.91, 1.51, -20.73)
CIE-LCHlch(28.91, 20.79, 274.15°)
OKLaboklab(38.75% -0.0124 -0.0581)
OKLCHoklch(38.75% 0.059 258)
XYZxyz(5.6465, 5.8043, 12.8769)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304564 #644F30
analogous
#305F64 #304564 #353064
triadic
#304564 #643045 #456430
tetradic
#304564 #64305F #644F30 #306435
square
#304564 #64305F #644F30 #306435
split-complementary
#304564 #643530 #5F6430
monochromatic
#0A0E15 #1C283B #304564 #44628D #5D7FB1

Accessibility & contrast

On white

9.72
#304564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304564
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304564#FFFFFF#000000##FFFFFF
##3045641.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394765
Deuteranopia (green-blind)
#334263
Tritanopia (blue-blind)
#194C50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304564;
/* rgb */ color: rgb(48, 69, 100);
/* oklch */ color: oklch(38.7% 0.059 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7890',
    500: '#304564',
    950: '#000000',
  },
}
SCSS
$custom: #304564;
$custom-light: #6c7890;
$custom-dark: #000000;
JSON
{
  "hex": "#304564",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 100
  },
  "hsl": {
    "h": 215.769,
    "s": 35.135,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.05943,
    "h": 258
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#304564
secondary
#957E5A
accent
#9F5DCB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #304564

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

Preview Lab → · Contrast checker → · Palette generator →

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