#306A8D#306A8D

#306A8D is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.1% C 0.082 H 238.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#306A8D
RGBrgb(48, 106, 141)
HSLhsl(203, 49%, 37%)
HSVhsv(203, 66%, 55%)
CMYKcmyk(66%, 24.8%, 0%, 44.7%)
CIE-LABlab(42.55, -7.39, -24.84)
CIE-LCHlch(42.55, 25.91, 253.43°)
OKLaboklab(50.14% -0.0436 -0.0698)
OKLCHoklch(50.14% 0.082 238)
XYZxyz(11.1788, 12.8584, 27.0869)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A8D #8D5330
analogous
#308D82 #306A8D #303B8D
triadic
#306A8D #8D306A #6A8D30
tetradic
#306A8D #82308D #8D5330 #3B8D30
square
#306A8D #82308D #8D5330 #3B8D30
split-complementary
#306A8D #8D303B #8D8230
monochromatic
#112532 #20485F #306A8D #408CBB #6BA8CD

Accessibility & contrast

On white

5.88
#306A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#306A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A8D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A8D#FFFFFF#000000##FFFFFF
##306A8D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A8F
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#007376
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #306a8d;
/* rgb */ color: rgb(48, 106, 141);
/* oklch */ color: oklch(50.1% 0.082 238.0);
Tailwind
colors: {
  custom: {
    50: '#7394ae',
    500: '#306a8d',
    950: '#000000',
  },
}
SCSS
$custom: #306a8d;
$custom-light: #7394ae;
$custom-dark: #000000;
JSON
{
  "hex": "#306a8d",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 141
  },
  "hsl": {
    "h": 202.581,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.08225,
    "h": 238
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#306A8D
secondary
#B48365
accent
#834FD9
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306A8D

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

Preview Lab → · Contrast checker → · Palette generator →

#306A8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva