#306181#306181

#306181 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.3% C 0.074 H 239.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#306181
RGBrgb(48, 97, 129)
HSLhsl(204, 46%, 35%)
HSVhsv(204, 63%, 51%)
CMYKcmyk(62.8%, 24.8%, 0%, 49.4%)
CIE-LABlab(39.18, -6.16, -22.84)
CIE-LCHlch(39.18, 23.65, 254.91°)
OKLaboklab(47.28% -0.0376 -0.064)
OKLCHoklch(47.28% 0.074 239.6)
XYZxyz(9.4546, 10.7618, 22.3436)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306181 #815030
analogous
#308179 #306181 #303881
triadic
#306181 #813061 #618130
tetradic
#306181 #793081 #815030 #388130
square
#306181 #793081 #815030 #388130
split-complementary
#306181 #813038 #817930
monochromatic
#0F1E28 #1F3F54 #306181 #4183AE #66A0C6

Accessibility & contrast

On white

6.66
#306181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#306181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306181
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306181#FFFFFF#000000##FFFFFF
##3061811.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526182
Deuteranopia (green-blind)
#475980
Tritanopia (blue-blind)
#00696C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306181;
/* rgb */ color: rgb(48, 97, 129);
/* oklch */ color: oklch(47.3% 0.074 239.6);
Tailwind
colors: {
  custom: {
    50: '#708da5',
    500: '#306181',
    950: '#000000',
  },
}
SCSS
$custom: #306181;
$custom-light: #708da5;
$custom-dark: #000000;
JSON
{
  "hex": "#306181",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 129
  },
  "hsl": {
    "h": 203.704,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47283,
    "c": 0.07427,
    "h": 239.6
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#306181
secondary
#AD7E60
accent
#8652D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #306181

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

Preview Lab → · Contrast checker → · Palette generator →

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