#306AAF#306AAF

#306AAF is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.1% C 0.125 H 254.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#306AAF
RGBrgb(48, 106, 175)
HSLhsl(213, 57%, 44%)
HSVhsv(213, 73%, 69%)
CMYKcmyk(72.6%, 39.4%, 0%, 31.4%)
CIE-LABlab(44.28, 4.93, -42.26)
CIE-LCHlch(44.28, 42.54, 276.65°)
OKLaboklab(52.06% -0.0334 -0.1205)
OKLCHoklch(52.06% 0.125 254.5)
XYZxyz(14.1080, 14.0300, 42.5137)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AAF #AF7530
analogous
#30A9AF #306AAF #3530AF
triadic
#306AAF #AF306A #6AAF30
tetradic
#306AAF #AF30A9 #AF7530 #30AF35
square
#306AAF #AF30A9 #AF7530 #30AF35
split-complementary
#306AAF #AF3530 #A9AF30
monochromatic
#16304F #234D7F #306AAF #4E89CE #7EA9DC

Accessibility & contrast

On white

5.52
#306AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#306AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AAF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AAF#FFFFFF#000000##FFFFFF
##306AAF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306aaf;
/* rgb */ color: rgb(48, 106, 175);
/* oklch */ color: oklch(52.1% 0.125 254.5);
Tailwind
colors: {
  custom: {
    50: '#7894c7',
    500: '#306aaf',
    950: '#000000',
  },
}
SCSS
$custom: #306aaf;
$custom-light: #7894c7;
$custom-dark: #000000;
JSON
{
  "hex": "#306aaf",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 212.598,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.12501,
    "h": 254.5
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#306AAF
secondary
#C4A176
accent
#9B48E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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