#306297#306297

#306297 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.7% C 0.101 H 251.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#306297
RGBrgb(48, 98, 151)
HSLhsl(211, 52%, 39%)
HSVhsv(211, 68%, 59%)
CMYKcmyk(68.2%, 35.1%, 0%, 40.8%)
CIE-LABlab(40.57, 1.09, -33.93)
CIE-LCHlch(40.57, 33.95, 271.83°)
OKLaboklab(48.74% -0.0316 -0.0962)
OKLCHoklch(48.74% 0.101 251.8)
XYZxyz(11.1705, 11.5970, 30.9219)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306297 #976530
analogous
#309697 #306297 #323097
triadic
#306297 #973062 #629730
tetradic
#306297 #973096 #976530 #309732
square
#306297 #973096 #976530 #309732
split-complementary
#306297 #973230 #969730
monochromatic
#12263A #214469 #306297 #4180C3 #709FD2

Accessibility & contrast

On white

6.33
#306297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#306297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306297
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306297#FFFFFF#000000##FFFFFF
##3062971.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#006E75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306297;
/* rgb */ color: rgb(48, 98, 151);
/* oklch */ color: oklch(48.7% 0.101 251.8);
Tailwind
colors: {
  custom: {
    50: '#748eb6',
    500: '#306297',
    950: '#000000',
  },
}
SCSS
$custom: #306297;
$custom-light: #748eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#306297",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 151
  },
  "hsl": {
    "h": 210.874,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48735,
    "c": 0.10128,
    "h": 251.8
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#306297
secondary
#B9936A
accent
#964DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #306297

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

Preview Lab → · Contrast checker → · Palette generator →

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