#308EC1#308EC1

#308EC1 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.5% C 0.115 H 237.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#308EC1
RGBrgb(48, 142, 193)
HSLhsl(201, 60%, 47%)
HSVhsv(201, 75%, 76%)
CMYKcmyk(75.1%, 26.4%, 0%, 24.3%)
CIE-LABlab(55.91, -10.03, -34.29)
CIE-LCHlch(55.91, 35.73, 253.69°)
OKLaboklab(61.52% -0.0626 -0.0968)
OKLCHoklch(61.52% 0.115 237.1)
XYZxyz(20.5138, 23.8222, 53.9587)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EC1 #C16330
analogous
#30C1AB #308EC1 #3046C1
triadic
#308EC1 #C1308E #8EC130
tetradic
#308EC1 #AB30C1 #C16330 #46C130
square
#308EC1 #AB30C1 #C16330 #46C130
split-complementary
#308EC1 #C13046 #C1AB30
monochromatic
#18465F #246A90 #308EC1 #59AAD6 #8AC3E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308EC1#FFFFFF#000000##000000
##308EC11.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)
#768EC3
Deuteranopia (green-blind)
#6280C0
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #308ec1;
/* rgb */ color: rgb(48, 142, 193);
/* oklch */ color: oklch(61.5% 0.115 237.1);
Tailwind
colors: {
  custom: {
    50: '#7dafd4',
    500: '#308ec1',
    950: '#000000',
  },
}
SCSS
$custom: #308ec1;
$custom-light: #7dafd4;
$custom-dark: #000000;
JSON
{
  "hex": "#308ec1",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 193
  },
  "hsl": {
    "h": 201.103,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.11527,
    "h": 237.1
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

primary
#308EC1
secondary
#CC9B81
accent
#7C44E3
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #308EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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