#304665#304665

#304665 is a dark, muted blue. Relative luminance 0.059; OKLCH L 39.1% C 0.060 H 257.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#304665
RGBrgb(48, 70, 101)
HSLhsl(215, 36%, 29%)
HSVhsv(215, 52%, 40%)
CMYKcmyk(52.5%, 30.7%, 0%, 60.4%)
CIE-LABlab(29.28, 1.19, -20.80)
CIE-LCHlch(29.28, 20.83, 273.27°)
OKLaboklab(39.05% -0.0134 -0.0583)
OKLCHoklch(39.05% 0.06 257)
XYZxyz(5.7573, 5.9479, 13.1541)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304665 #654F30
analogous
#306165 #304665 #353065
triadic
#304665 #653046 #466530
tetradic
#304665 #653061 #654F30 #306535
square
#304665 #653061 #654F30 #306535
split-complementary
#304665 #653530 #616530
monochromatic
#0A0E15 #1C293C #304665 #44638E #5D80B2

Accessibility & contrast

On white

9.59
#304665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#304665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304665
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304665#FFFFFF#000000##FFFFFF
##3046651.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4866
Deuteranopia (green-blind)
#344364
Tritanopia (blue-blind)
#184D51
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #304665;
/* rgb */ color: rgb(48, 70, 101);
/* oklch */ color: oklch(39.1% 0.060 257.0);
Tailwind
colors: {
  custom: {
    50: '#6c7991',
    500: '#304665',
    950: '#000000',
  },
}
SCSS
$custom: #304665;
$custom-light: #6c7991;
$custom-dark: #000000;
JSON
{
  "hex": "#304665",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 101
  },
  "hsl": {
    "h": 215.094,
    "s": 35.57,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3905,
    "c": 0.05982,
    "h": 257
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#304665
secondary
#967D5A
accent
#9D5CCC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #304665

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

Preview Lab → · Contrast checker → · Palette generator →

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