#308CCE#308CCE

#308CCE is a mid, vivid cyan. Relative luminance 0.238; OKLCH L 61.7% C 0.131 H 244.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#308CCE
RGBrgb(48, 140, 206)
HSLhsl(205, 62%, 50%)
HSVhsv(205, 77%, 81%)
CMYKcmyk(76.7%, 32%, 0%, 19.2%)
CIE-LABlab(55.93, -4.27, -41.62)
CIE-LCHlch(55.93, 41.83, 264.14°)
OKLaboklab(61.73% -0.0567 -0.1181)
OKLCHoklch(61.73% 0.131 244.4)
XYZxyz(21.7333, 23.8382, 61.8364)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CCE #CE7230
analogous
#30CEC1 #308CCE #303DCE
triadic
#308CCE #CE308C #8CCE30
tetradic
#308CCE #C130CE #CE7230 #3DCE30
square
#308CCE #C130CE #CE7230 #3DCE30
split-complementary
#308CCE #CE303D #CEC130
monochromatic
#19496B #246A9C #308CCE #61A8DA #93C3E6

Accessibility & contrast

On white

3.64
#308CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#308CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CCE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CCE#FFFFFF#000000##000000
##308CCE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED1
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#009CA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #308cce;
/* rgb */ color: rgb(48, 140, 206);
/* oklch */ color: oklch(61.7% 0.131 244.4);
Tailwind
colors: {
  custom: {
    50: '#7faddd',
    500: '#308cce',
    950: '#000000',
  },
}
SCSS
$custom: #308cce;
$custom-light: #7faddd;
$custom-dark: #000000;
JSON
{
  "hex": "#308cce",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 206
  },
  "hsl": {
    "h": 205.063,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.13099,
    "h": 244.4
  },
  "luminance": 0.23841
}

Semantic roles & 50–950 ramp

primary
#308CCE
secondary
#D1A789
accent
#8743E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #308CCE

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

Preview Lab → · Contrast checker → · Palette generator →

#308CCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva