#306D9A#306D9A

#306D9A is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.6% C 0.095 H 243.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#306D9A
RGBrgb(48, 109, 154)
HSLhsl(205, 52%, 40%)
HSVhsv(205, 69%, 60%)
CMYKcmyk(68.8%, 29.2%, 0%, 39.6%)
CIE-LABlab(44.09, -4.60, -30.19)
CIE-LCHlch(44.09, 30.53, 261.34°)
OKLaboklab(51.55% -0.0424 -0.0852)
OKLCHoklch(51.55% 0.095 243.6)
XYZxyz(12.5181, 13.8974, 32.5883)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D9A #9A5D30
analogous
#309A92 #306D9A #30389A
triadic
#306D9A #9A306D #6D9A30
tetradic
#306D9A #92309A #9A5D30 #389A30
square
#306D9A #92309A #9A5D30 #389A30
split-complementary
#306D9A #9A3038 #9A9230
monochromatic
#132B3D #214C6B #306D9A #438DC4 #72AAD3

Accessibility & contrast

On white

5.56
#306D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#306D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D9A
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D9A#FFFFFF#000000##FFFFFF
##306D9A1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596E9C
Deuteranopia (green-blind)
#4A6499
Tritanopia (blue-blind)
#00787D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306d9a;
/* rgb */ color: rgb(48, 109, 154);
/* oklch */ color: oklch(51.6% 0.095 243.6);
Tailwind
colors: {
  custom: {
    50: '#7596b8',
    500: '#306d9a',
    950: '#000000',
  },
}
SCSS
$custom: #306d9a;
$custom-light: #7596b8;
$custom-dark: #000000;
JSON
{
  "hex": "#306d9a",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 154
  },
  "hsl": {
    "h": 205.472,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.09515,
    "h": 243.6
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#306D9A
secondary
#BB8D6B
accent
#894CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #306D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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