#304F71#304F71

#304F71 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.068 H 251.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#304F71
RGBrgb(48, 79, 113)
HSLhsl(211, 40%, 32%)
HSVhsv(211, 58%, 44%)
CMYKcmyk(57.5%, 30.1%, 0%, 55.7%)
CIE-LABlab(32.73, -0.50, -23.01)
CIE-LCHlch(32.73, 23.01, 268.75°)
OKLaboklab(41.95% -0.0213 -0.0646)
OKLCHoklch(41.95% 0.068 251.8)
XYZxyz(6.9945, 7.4120, 16.6817)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F71 #715230
analogous
#307071 #304F71 #323071
triadic
#304F71 #71304F #4F7130
tetradic
#304F71 #713070 #715230 #307132
square
#304F71 #713070 #715230 #307132
split-complementary
#304F71 #713230 #707130
monochromatic
#0C131B #1E3146 #304F71 #426D9C #608CBB

Accessibility & contrast

On white

8.46
#304F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#304F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304F71
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F71#FFFFFF#000000##FFFFFF
##304F711.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415072
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#05575B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #304f71;
/* rgb */ color: rgb(48, 79, 113);
/* oklch */ color: oklch(41.9% 0.068 251.8);
Tailwind
colors: {
  custom: {
    50: '#6e809a',
    500: '#304f71',
    950: '#000000',
  },
}
SCSS
$custom: #304f71;
$custom-light: #6e809a;
$custom-dark: #000000;
JSON
{
  "hex": "#304f71",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 211.385,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41947,
    "c": 0.06804,
    "h": 251.8
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#304F71
secondary
#A2805B
accent
#9758D0
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #304F71

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

Preview Lab → · Contrast checker → · Palette generator →

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