#307FD8#307FD8

#307FD8 is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.4% C 0.156 H 254.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#307FD8
RGBrgb(48, 127, 216)
HSLhsl(212, 68%, 52%)
HSVhsv(212, 78%, 85%)
CMYKcmyk(77.8%, 41.2%, 0%, 15.3%)
CIE-LABlab(52.69, 7.15, -52.39)
CIE-LCHlch(52.69, 52.88, 277.77°)
OKLaboklab(59.37% -0.0427 -0.1499)
OKLCHoklch(59.37% 0.156 254.1)
XYZxyz(21.1983, 20.7625, 67.8428)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307FD8 #D88930
analogous
#30D3D8 #307FD8 #3530D8
triadic
#307FD8 #D8307F #7FD830
tetradic
#307FD8 #D830D3 #D88930 #30D835
square
#307FD8 #D830D3 #D88930 #30D835
split-complementary
#307FD8 #D83530 #D3D830
monochromatic
#164477 #2061AB #307FD8 #639FE2 #97BFEB

Accessibility & contrast

On white

4.08
#307FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#307FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307FD8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307FD8#FFFFFF#000000##000000
##307FD81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DC
Deuteranopia (green-blind)
#3677D6
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #307fd8;
/* rgb */ color: rgb(48, 127, 216);
/* oklch */ color: oklch(59.4% 0.156 254.1);
Tailwind
colors: {
  custom: {
    50: '#81a3e4',
    500: '#307fd8',
    950: '#000000',
  },
}
SCSS
$custom: #307fd8;
$custom-light: #81a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#307fd8",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 211.786,
    "s": 68.293,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.15584,
    "h": 254.1
  },
  "luminance": 0.20765
}

Semantic roles & 50–950 ramp

primary
#307FD8
secondary
#D7B48D
accent
#993DEB
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #307FD8

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

Preview Lab → · Contrast checker → · Palette generator →

#307FD8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva