#304565#304565

#304565 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.8% C 0.061 H 258.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#304565
RGBrgb(48, 69, 101)
HSLhsl(216, 36%, 29%)
HSVhsv(216, 52%, 40%)
CMYKcmyk(52.5%, 31.7%, 0%, 60.4%)
CIE-LABlab(28.96, 1.85, -21.29)
CIE-LCHlch(28.96, 21.37, 274.96°)
OKLaboklab(38.8% -0.0121 -0.0597)
OKLCHoklch(38.8% 0.061 258.6)
XYZxyz(5.6952, 5.8238, 13.1334)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304565 #655030
analogous
#306065 #304565 #363065
triadic
#304565 #653045 #456530
tetradic
#304565 #653060 #655030 #306536
square
#304565 #653060 #655030 #306536
split-complementary
#304565 #653630 #606530
monochromatic
#0A0E15 #1C293C #304565 #44618E #5D7FB2

Accessibility & contrast

On white

9.70
#304565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304565
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304565#FFFFFF#000000##FFFFFF
##3045651.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394766
Deuteranopia (green-blind)
#324264
Tritanopia (blue-blind)
#184C50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304565;
/* rgb */ color: rgb(48, 69, 101);
/* oklch */ color: oklch(38.8% 0.061 258.6);
Tailwind
colors: {
  custom: {
    50: '#6c7891',
    500: '#304565',
    950: '#000000',
  },
}
SCSS
$custom: #304565;
$custom-light: #6c7891;
$custom-dark: #000000;
JSON
{
  "hex": "#304565",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 101
  },
  "hsl": {
    "h": 216.226,
    "s": 35.57,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38802,
    "c": 0.06095,
    "h": 258.6
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#304565
secondary
#967F5A
accent
#9F5CCC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #304565

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

Preview Lab → · Contrast checker → · Palette generator →

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