#307EC5#307EC5

#307EC5 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.133 H 249.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#307EC5
RGBrgb(48, 126, 197)
HSLhsl(209, 61%, 48%)
HSVhsv(209, 76%, 77%)
CMYKcmyk(75.6%, 36%, 0%, 22.7%)
CIE-LABlab(51.36, 0.75, -43.73)
CIE-LCHlch(51.36, 43.73, 270.98°)
OKLaboklab(57.99% -0.0464 -0.1245)
OKLCHoklch(57.99% 0.133 249.5)
XYZxyz(18.7540, 19.5791, 55.6032)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307EC5 #C57730
analogous
#30C5C1 #307EC5 #3033C5
triadic
#307EC5 #C5307E #7EC530
tetradic
#307EC5 #C130C5 #C57730 #33C530
square
#307EC5 #C130C5 #C57730 #33C530
split-complementary
#307EC5 #C53033 #C5C130
monochromatic
#183F63 #245F94 #307EC5 #5B9CD7 #8CBAE3

Accessibility & contrast

On white

4.27
#307EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#307EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307EC5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307EC5#FFFFFF#000000##000000
##307EC51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #307ec5;
/* rgb */ color: rgb(48, 126, 197);
/* oklch */ color: oklch(58.0% 0.133 249.5);
Tailwind
colors: {
  custom: {
    50: '#7da3d7',
    500: '#307ec5',
    950: '#000000',
  },
}
SCSS
$custom: #307ec5;
$custom-light: #7da3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#307ec5",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 208.591,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.13284,
    "h": 249.5
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#307EC5
secondary
#CDA784
accent
#9044E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #307EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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