#307FAC#307FAC

#307FAC is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.103 H 237.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#307FAC
RGBrgb(48, 127, 172)
HSLhsl(202, 56%, 43%)
HSVhsv(202, 72%, 67%)
CMYKcmyk(72.1%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.43, -8.83, -30.81)
CIE-LCHlch(50.43, 32.05, 254.00°)
OKLaboklab(56.86% -0.055 -0.0868)
OKLCHoklch(56.86% 0.103 237.7)
XYZxyz(16.2518, 18.7838, 41.7909)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307FAC #AC5D30
analogous
#30AC9B #307FAC #3041AC
triadic
#307FAC #AC307F #7FAC30
tetradic
#307FAC #9B30AC #AC5D30 #41AC30
square
#307FAC #9B30AC #AC5D30 #41AC30
split-complementary
#307FAC #AC3041 #AC9B30
monochromatic
#15384C #235C7C #307FAC #4C9ECD #7CB8DA

Accessibility & contrast

On white

4.41
#307FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#307FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307FAC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307FAC#FFFFFF#000000##000000
##307FAC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #307fac;
/* rgb */ color: rgb(48, 127, 172);
/* oklch */ color: oklch(56.9% 0.103 237.7);
Tailwind
colors: {
  custom: {
    50: '#78a4c5',
    500: '#307fac',
    950: '#000000',
  },
}
SCSS
$custom: #307fac;
$custom-light: #78a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#307fac",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 201.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.10277,
    "h": 237.7
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#307FAC
secondary
#C39175
accent
#7F48E0
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #307FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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