#306CDA#306CDA

#306CDA is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.4% C 0.180 H 261.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#306CDA
RGBrgb(48, 108, 218)
HSLhsl(219, 70%, 52%)
HSVhsv(219, 78%, 85%)
CMYKcmyk(78%, 50.5%, 0%, 14.5%)
CIE-LABlab(47.51, 19.78, -61.84)
CIE-LCHlch(47.51, 64.93, 287.74°)
OKLaboklab(55.41% -0.0274 -0.178)
OKLCHoklch(55.41% 0.18 261.3)
XYZxyz(19.2318, 16.4132, 68.4705)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CDA #DA9E30
analogous
#30C1DA #306CDA #4930DA
triadic
#306CDA #DA306C #6CDA30
tetradic
#306CDA #DA30C1 #DA9E30 #30DA49
square
#306CDA #DA30C1 #DA9E30 #30DA49
split-complementary
#306CDA #DA4930 #C1DA30
monochromatic
#16397A #1F51AE #306CDA #6491E3 #98B6ED

Accessibility & contrast

On white

4.90
#306CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#306CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CDA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CDA#FFFFFF#000000##FFFFFF
##306CDA1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2579DE
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #306cda;
/* rgb */ color: rgb(48, 108, 218);
/* oklch */ color: oklch(55.4% 0.180 261.3);
Tailwind
colors: {
  custom: {
    50: '#8195e6',
    500: '#306cda',
    950: '#000000',
  },
}
SCSS
$custom: #306cda;
$custom-light: #8195e6;
$custom-dark: #000000;
JSON
{
  "hex": "#306cda",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 218.824,
    "s": 69.672,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.18013,
    "h": 261.3
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#306CDA
secondary
#D8BE8E
accent
#AE3BEC
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #306CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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