#304575#304575

#304575 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.086 H 264.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#304575
RGBrgb(48, 69, 117)
HSLhsl(222, 42%, 32%)
HSVhsv(222, 59%, 46%)
CMYKcmyk(59%, 41%, 0%, 54.1%)
CIE-LABlab(29.83, 7.50, -30.07)
CIE-LCHlch(29.83, 30.99, 284.01°)
OKLaboklab(39.76% -0.0076 -0.0853)
OKLCHoklch(39.76% 0.086 264.9)
XYZxyz(6.5568, 6.1685, 17.6713)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304575 #756030
analogous
#306875 #304575 #3E3075
triadic
#304575 #753045 #457530
tetradic
#304575 #753068 #756030 #30753E
square
#304575 #753068 #756030 #30753E
split-complementary
#304575 #753E30 #687530
monochromatic
#0C121E #1E2B4A #304575 #425FA0 #617DBE

Accessibility & contrast

On white

9.40
#304575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#304575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304575
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304575#FFFFFF#000000##FFFFFF
##3045751.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A77
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#025057
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304575;
/* rgb */ color: rgb(48, 69, 117);
/* oklch */ color: oklch(39.8% 0.086 264.9);
Tailwind
colors: {
  custom: {
    50: '#6e789d',
    500: '#304575',
    950: '#000000',
  },
}
SCSS
$custom: #304575;
$custom-light: #6e789d;
$custom-dark: #000000;
JSON
{
  "hex": "#304575",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 117
  },
  "hsl": {
    "h": 221.739,
    "s": 41.818,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.08562,
    "h": 264.9
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#304575
secondary
#A58F5B
accent
#AC56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #304575

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

Preview Lab → · Contrast checker → · Palette generator →

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