#306CAF#306CAF

#306CAF is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.123 H 253.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#306CAF
RGBrgb(48, 108, 175)
HSLhsl(212, 57%, 44%)
HSVhsv(212, 73%, 69%)
CMYKcmyk(72.6%, 38.3%, 0%, 31.4%)
CIE-LABlab(44.87, 3.67, -41.32)
CIE-LCHlch(44.87, 41.48, 275.08°)
OKLaboklab(52.52% -0.0353 -0.1177)
OKLCHoklch(52.52% 0.123 253.3)
XYZxyz(14.3165, 14.4471, 42.5832)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CAF #AF7330
analogous
#30ABAF #306CAF #3430AF
triadic
#306CAF #AF306C #6CAF30
tetradic
#306CAF #AF30AB #AF7330 #30AF34
square
#306CAF #AF30AB #AF7330 #30AF34
split-complementary
#306CAF #AF3430 #ABAF30
monochromatic
#16314F #234E7F #306CAF #4E8BCE #7EAADC

Accessibility & contrast

On white

5.40
#306CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#306CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CAF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CAF#FFFFFF#000000##FFFFFF
##306CAF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B2
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306caf;
/* rgb */ color: rgb(48, 108, 175);
/* oklch */ color: oklch(52.5% 0.123 253.3);
Tailwind
colors: {
  custom: {
    50: '#7895c7',
    500: '#306caf',
    950: '#000000',
  },
}
SCSS
$custom: #306caf;
$custom-light: #7895c7;
$custom-dark: #000000;
JSON
{
  "hex": "#306caf",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 175
  },
  "hsl": {
    "h": 211.654,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.12286,
    "h": 253.3
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#306CAF
secondary
#C4A076
accent
#9848E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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