#304F73#304F73

#304F73 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.071 H 253.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#304F73
RGBrgb(48, 79, 115)
HSLhsl(212, 41%, 32%)
HSVhsv(212, 58%, 45%)
CMYKcmyk(58.3%, 31.3%, 0%, 54.9%)
CIE-LABlab(32.83, 0.20, -24.10)
CIE-LCHlch(32.83, 24.10, 270.47°)
OKLaboklab(42.06% -0.0206 -0.0678)
OKLCHoklch(42.06% 0.071 253.1)
XYZxyz(7.1083, 7.4576, 17.2812)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F73 #735430
analogous
#307173 #304F73 #333073
triadic
#304F73 #73304F #4F7330
tetradic
#304F73 #733071 #735430 #307333
square
#304F73 #733071 #735430 #307333
split-complementary
#304F73 #733330 #717330
monochromatic
#0C141D #1E3148 #304F73 #426D9E #618BBD

Accessibility & contrast

On white

8.43
#304F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#304F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304F73
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F73#FFFFFF#000000##FFFFFF
##304F731.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405175
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#02575C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #304f73;
/* rgb */ color: rgb(48, 79, 115);
/* oklch */ color: oklch(42.1% 0.071 253.1);
Tailwind
colors: {
  custom: {
    50: '#6e809b',
    500: '#304f73',
    950: '#000000',
  },
}
SCSS
$custom: #304f73;
$custom-light: #6e809b;
$custom-dark: #000000;
JSON
{
  "hex": "#304f73",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 115
  },
  "hsl": {
    "h": 212.239,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42057,
    "c": 0.07087,
    "h": 253.1
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#304F73
secondary
#A4825B
accent
#9857D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #304F73

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

Preview Lab → · Contrast checker → · Palette generator →

#304F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva