#306AAA#306AAA

#306AAA is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.8% C 0.118 H 253.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#306AAA
RGBrgb(48, 106, 170)
HSLhsl(211, 56%, 43%)
HSVhsv(211, 72%, 67%)
CMYKcmyk(71.8%, 37.6%, 0%, 33.3%)
CIE-LABlab(44.00, 3.07, -39.76)
CIE-LCHlch(44.00, 39.88, 274.42°)
OKLaboklab(51.75% -0.0346 -0.1132)
OKLCHoklch(51.75% 0.118 253)
XYZxyz(13.6260, 13.8372, 39.9752)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AAA #AA7030
analogous
#30A7AA #306AAA #3330AA
triadic
#306AAA #AA306A #6AAA30
tetradic
#306AAA #AA30A7 #AA7030 #30AA33
square
#306AAA #AA30A7 #AA7030 #30AA33
split-complementary
#306AAA #AA3330 #A7AA30
monochromatic
#152E4B #234C7A #306AAA #4B88CC #7BA8DA

Accessibility & contrast

On white

5.57
#306AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#306AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AAA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AAA#FFFFFF#000000##FFFFFF
##306AAA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306aaa;
/* rgb */ color: rgb(48, 106, 170);
/* oklch */ color: oklch(51.8% 0.118 253.0);
Tailwind
colors: {
  custom: {
    50: '#7794c3',
    500: '#306aaa',
    950: '#000000',
  },
}
SCSS
$custom: #306aaa;
$custom-light: #7794c3;
$custom-dark: #000000;
JSON
{
  "hex": "#306aaa",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 211.475,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.11835,
    "h": 253
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#306AAA
secondary
#C29D74
accent
#9849DF
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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