#304685#304685

#304685 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.109 H 267.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#304685
RGBrgb(48, 70, 133)
HSLhsl(224, 47%, 35%)
HSVhsv(224, 64%, 52%)
CMYKcmyk(63.9%, 47.4%, 0%, 47.8%)
CIE-LABlab(31.12, 12.70, -38.01)
CIE-LCHlch(31.12, 40.07, 288.48°)
OKLaboklab(41.07% -0.0055 -0.1085)
OKLCHoklch(41.07% 0.109 267.1)
XYZxyz(7.6413, 6.7015, 23.0766)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304685 #856F30
analogous
#307085 #304685 #453085
triadic
#304685 #853046 #468530
tetradic
#304685 #853070 #856F30 #308545
square
#304685 #853070 #856F30 #308545
split-complementary
#304685 #854530 #708530
monochromatic
#10172B #202E58 #304685 #405EB2 #6780C8

Accessibility & contrast

On white

8.97
#304685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#304685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304685
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304685#FFFFFF#000000##FFFFFF
##3046851.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#1A4684
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #304685;
/* rgb */ color: rgb(48, 70, 133);
/* oklch */ color: oklch(41.1% 0.109 267.1);
Tailwind
colors: {
  custom: {
    50: '#7179a9',
    500: '#304685',
    950: '#000000',
  },
}
SCSS
$custom: #304685;
$custom-light: #7179a9;
$custom-dark: #000000;
JSON
{
  "hex": "#304685",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 133
  },
  "hsl": {
    "h": 224.471,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.10869,
    "h": 267.1
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#304685
secondary
#AF9B61
accent
#B451D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #304685

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

Preview Lab → · Contrast checker → · Palette generator →

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