#307BCF#307BCF

#307BCF is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.149 H 253.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#307BCF
RGBrgb(48, 123, 207)
HSLhsl(212, 62%, 50%)
HSVhsv(212, 77%, 81%)
CMYKcmyk(76.8%, 40.6%, 0%, 18.8%)
CIE-LABlab(51.03, 6.26, -49.94)
CIE-LCHlch(51.03, 50.33, 277.15°)
OKLaboklab(57.91% -0.0413 -0.1427)
OKLCHoklch(57.91% 0.149 253.9)
XYZxyz(19.5602, 19.2970, 61.7132)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307BCF #CF8430
analogous
#30CBCF #307BCF #3430CF
triadic
#307BCF #CF307B #7BCF30
tetradic
#307BCF #CF30CB #CF8430 #30CF34
square
#307BCF #CF30CB #CF8430 #30CF34
split-complementary
#307BCF #CF3430 #CBCF30
monochromatic
#19406C #245D9D #307BCF #629BDB #93BAE6

Accessibility & contrast

On white

4.32
#307BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#307BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307BCF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307BCF#FFFFFF#000000##000000
##307BCF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #307bcf;
/* rgb */ color: rgb(48, 123, 207);
/* oklch */ color: oklch(57.9% 0.149 253.9);
Tailwind
colors: {
  custom: {
    50: '#7fa0de',
    500: '#307bcf',
    950: '#000000',
  },
}
SCSS
$custom: #307bcf;
$custom-light: #7fa0de;
$custom-dark: #000000;
JSON
{
  "hex": "#307bcf",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 211.698,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.14859,
    "h": 253.9
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#307BCF
secondary
#D1AF8A
accent
#9942E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #307BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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