#308EC9#308EC9

#308EC9 is a mid, vivid cyan. Relative luminance 0.242; OKLCH L 61.9% C 0.124 H 241.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#308EC9
RGBrgb(48, 142, 201)
HSLhsl(203, 61%, 49%)
HSVhsv(203, 76%, 79%)
CMYKcmyk(76.1%, 29.4%, 0%, 21.2%)
CIE-LABlab(56.28, -7.21, -38.24)
CIE-LCHlch(56.28, 38.92, 259.32°)
OKLaboklab(61.93% -0.06 -0.1082)
OKLCHoklch(61.93% 0.124 241)
XYZxyz(21.4304, 24.1889, 58.7865)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EC9 #C96B30
analogous
#30C9B8 #308EC9 #3042C9
triadic
#308EC9 #C9308E #8EC930
tetradic
#308EC9 #B830C9 #C96B30 #42C930
square
#308EC9 #B830C9 #C96B30 #42C930
split-complementary
#308EC9 #C93042 #C9B830
monochromatic
#184866 #246B98 #308EC9 #5EA9D8 #8FC3E4

Accessibility & contrast

On white

3.60
#308EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#308EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EC9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EC9#FFFFFF#000000##000000
##308EC91.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCC
Deuteranopia (green-blind)
#5D81C8
Tritanopia (blue-blind)
#009DA3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #308ec9;
/* rgb */ color: rgb(48, 142, 201);
/* oklch */ color: oklch(61.9% 0.124 241.0);
Tailwind
colors: {
  custom: {
    50: '#7eaed9',
    500: '#308ec9',
    950: '#000000',
  },
}
SCSS
$custom: #308ec9;
$custom-light: #7eaed9;
$custom-dark: #000000;
JSON
{
  "hex": "#308ec9",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 201
  },
  "hsl": {
    "h": 203.137,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.12377,
    "h": 241
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#308EC9
secondary
#CFA286
accent
#8143E5
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #308EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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