#306EBA#306EBA

#306EBA is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.7% C 0.135 H 255.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#306EBA
RGBrgb(48, 110, 186)
HSLhsl(213, 59%, 46%)
HSVhsv(213, 74%, 73%)
CMYKcmyk(74.2%, 40.9%, 0%, 27.1%)
CIE-LABlab(46.07, 6.51, -45.80)
CIE-LCHlch(46.07, 46.26, 278.09°)
OKLaboklab(53.66% -0.0346 -0.1308)
OKLCHoklch(53.66% 0.135 255.2)
XYZxyz(15.6545, 15.3237, 48.5776)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EBA #BA7C30
analogous
#30B3BA #306EBA #3730BA
triadic
#306EBA #BA306E #6EBA30
tetradic
#306EBA #BA30B3 #BA7C30 #30BA37
square
#306EBA #BA30B3 #BA7C30 #30BA37
split-complementary
#306EBA #BA3730 #B3BA30
monochromatic
#173459 #235189 #306EBA #548DD3 #85AEDF

Accessibility & contrast

On white

5.17
#306EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#306EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EBA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EBA#FFFFFF#000000##FFFFFF
##306EBA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306eba;
/* rgb */ color: rgb(48, 110, 186);
/* oklch */ color: oklch(53.7% 0.135 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b97cf',
    500: '#306eba',
    950: '#000000',
  },
}
SCSS
$custom: #306eba;
$custom-light: #7b97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#306eba",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 213.043,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53663,
    "c": 0.13529,
    "h": 255.2
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#306EBA
secondary
#C9A77D
accent
#9C46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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