#304F79#304F79

#304F79 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.080 H 256.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#304F79
RGBrgb(48, 79, 121)
HSLhsl(215, 43%, 33%)
HSVhsv(215, 60%, 47%)
CMYKcmyk(60.3%, 34.7%, 0%, 52.5%)
CIE-LABlab(33.14, 2.33, -27.36)
CIE-LCHlch(33.14, 27.46, 274.87°)
OKLaboklab(42.4% -0.0187 -0.0773)
OKLCHoklch(42.4% 0.08 256.4)
XYZxyz(7.4649, 7.6002, 19.1591)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F79 #795A30
analogous
#307379 #304F79 #363079
triadic
#304F79 #79304F #4F7930
tetradic
#304F79 #793073 #795A30 #307936
square
#304F79 #793073 #795A30 #307936
split-complementary
#304F79 #793630 #737930
monochromatic
#0D1621 #1F324D #304F79 #416CA5 #628BC1

Accessibility & contrast

On white

8.33
#304F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#304F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304F79
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F79#FFFFFF#000000##FFFFFF
##304F791.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527B
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #304f79;
/* rgb */ color: rgb(48, 79, 121);
/* oklch */ color: oklch(42.4% 0.080 256.4);
Tailwind
colors: {
  custom: {
    50: '#6f80a0',
    500: '#304f79',
    950: '#000000',
  },
}
SCSS
$custom: #304f79;
$custom-light: #6f80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#304f79",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 214.521,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.0795,
    "h": 256.4
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#304F79
secondary
#A8885D
accent
#9D55D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #304F79

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

Preview Lab → · Contrast checker → · Palette generator →

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