#306398#306398

#306398 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.0% C 0.102 H 251.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#306398
RGBrgb(48, 99, 152)
HSLhsl(211, 52%, 39%)
HSVhsv(211, 68%, 60%)
CMYKcmyk(68.4%, 34.9%, 0%, 40.4%)
CIE-LABlab(40.93, 0.82, -33.96)
CIE-LCHlch(40.93, 33.97, 271.39°)
OKLaboklab(49.03% -0.0324 -0.0963)
OKLCHoklch(49.03% 0.102 251.4)
XYZxyz(11.3462, 11.8179, 31.3828)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306398 #986530
analogous
#309798 #306398 #313098
triadic
#306398 #983063 #639830
tetradic
#306398 #983097 #986530 #309831
square
#306398 #983097 #986530 #309831
split-complementary
#306398 #983130 #979830
monochromatic
#13263B #214569 #306398 #4281C3 #70A0D2

Accessibility & contrast

On white

6.24
#306398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#306398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306398
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306398#FFFFFF#000000##FFFFFF
##3063981.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C669A
Deuteranopia (green-blind)
#3D5C97
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306398;
/* rgb */ color: rgb(48, 99, 152);
/* oklch */ color: oklch(49.0% 0.102 251.4);
Tailwind
colors: {
  custom: {
    50: '#748fb6',
    500: '#306398',
    950: '#000000',
  },
}
SCSS
$custom: #306398;
$custom-light: #748fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#306398",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 152
  },
  "hsl": {
    "h": 210.577,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.10161,
    "h": 251.4
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

primary
#306398
secondary
#BA936A
accent
#954CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #306398

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

Preview Lab → · Contrast checker → · Palette generator →

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