#307FCF#307FCF

#307FCF is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.144 H 251.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#307FCF
RGBrgb(48, 127, 207)
HSLhsl(210, 62%, 50%)
HSVhsv(210, 77%, 81%)
CMYKcmyk(76.8%, 38.6%, 0%, 18.8%)
CIE-LABlab(52.19, 3.82, -48.10)
CIE-LCHlch(52.19, 48.26, 274.54°)
OKLaboklab(58.81% -0.0448 -0.1373)
OKLCHoklch(58.81% 0.144 251.9)
XYZxyz(20.0665, 20.3098, 61.8820)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307FCF #CF8030
analogous
#30CECF #307FCF #3130CF
triadic
#307FCF #CF307F #7FCF30
tetradic
#307FCF #CF30CE #CF8030 #30CF31
square
#307FCF #CF30CE #CF8030 #30CF31
split-complementary
#307FCF #CF3130 #CECF30
monochromatic
#19426C #24619D #307FCF #629EDB #93BCE6

Accessibility & contrast

On white

4.15
#307FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#307FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307FCF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307FCF#FFFFFF#000000##000000
##307FCF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4076CD
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #307fcf;
/* rgb */ color: rgb(48, 127, 207);
/* oklch */ color: oklch(58.8% 0.144 251.9);
Tailwind
colors: {
  custom: {
    50: '#7fa3de',
    500: '#307fcf',
    950: '#000000',
  },
}
SCSS
$custom: #307fcf;
$custom-light: #7fa3de;
$custom-dark: #000000;
JSON
{
  "hex": "#307fcf",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 210.189,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.58811,
    "c": 0.14439,
    "h": 251.9
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#307FCF
secondary
#D1AE8A
accent
#9442E5
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #307FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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