#306271#306271

#306271 is a mid, muted cyan. Relative luminance 0.106; OKLCH L 46.8% C 0.059 H 219.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#306271
RGBrgb(48, 98, 113)
HSLhsl(194, 40%, 32%)
HSVhsv(194, 58%, 44%)
CMYKcmyk(57.5%, 13.3%, 0%, 55.7%)
CIE-LABlab(38.82, -12.12, -13.61)
CIE-LCHlch(38.82, 18.22, 228.30°)
OKLaboklab(46.78% -0.0452 -0.0377)
OKLCHoklch(46.78% 0.059 219.9)
XYZxyz(8.5661, 10.5552, 17.2055)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306271 #713F30
analogous
#307160 #306271 #304271
triadic
#306271 #713062 #627130
tetradic
#306271 #603071 #713F30 #427130
square
#306271 #603071 #713F30 #427130
split-complementary
#306271 #713042 #716030
monochromatic
#0C171B #1E3D46 #306271 #42879C #60A6BB

Accessibility & contrast

On white

6.75
#306271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#306271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306271
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306271#FFFFFF#000000##FFFFFF
##3062711.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#4F5871
Tritanopia (blue-blind)
#006767
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306271;
/* rgb */ color: rgb(48, 98, 113);
/* oklch */ color: oklch(46.8% 0.059 219.9);
Tailwind
colors: {
  custom: {
    50: '#6e8e99',
    500: '#306271',
    950: '#000000',
  },
}
SCSS
$custom: #306271;
$custom-light: #6e8e99;
$custom-dark: #000000;
JSON
{
  "hex": "#306271",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 193.846,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.05887,
    "h": 219.9
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#306271
secondary
#A26B5B
accent
#7358D0
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #306271

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

Preview Lab → · Contrast checker → · Palette generator →

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