#307BCC#307BCC

#307BCC is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.7% C 0.145 H 253.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#307BCC
RGBrgb(48, 123, 204)
HSLhsl(211, 62%, 49%)
HSVhsv(211, 76%, 80%)
CMYKcmyk(76.5%, 39.7%, 0%, 20%)
CIE-LABlab(50.86, 5.15, -48.50)
CIE-LCHlch(50.86, 48.78, 276.06°)
OKLaboklab(57.73% -0.042 -0.1385)
OKLCHoklch(57.73% 0.145 253.1)
XYZxyz(19.1969, 19.1517, 59.7999)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307BCC #CC8130
analogous
#30C9CC #307BCC #3330CC
triadic
#307BCC #CC307B #7BCC30
tetradic
#307BCC #CC30C9 #CC8130 #30CC33
square
#307BCC #CC30C9 #CC8130 #30CC33
split-complementary
#307BCC #CC3330 #C9CC30
monochromatic
#193F69 #245D9A #307BCC #609ADA #91BAE5

Accessibility & contrast

On white

4.35
#307BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#307BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307BCC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307BCC#FFFFFF#000000##000000
##307BCC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#3B73CA
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #307bcc;
/* rgb */ color: rgb(48, 123, 204);
/* oklch */ color: oklch(57.7% 0.145 253.1);
Tailwind
colors: {
  custom: {
    50: '#7ea0dc',
    500: '#307bcc',
    950: '#000000',
  },
}
SCSS
$custom: #307bcc;
$custom-light: #7ea0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#307bcc",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 211.154,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.14474,
    "h": 253.1
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#307BCC
secondary
#D0AD88
accent
#9743E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #307BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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