#307EB4#307EB4

#307EB4 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.112 H 242.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#307EB4
RGBrgb(48, 126, 180)
HSLhsl(205, 58%, 45%)
HSVhsv(205, 73%, 71%)
CMYKcmyk(73.3%, 30%, 0%, 29.4%)
CIE-LABlab(50.50, -5.41, -35.32)
CIE-LCHlch(50.50, 35.73, 261.29°)
OKLaboklab(57.04% -0.0514 -0.0999)
OKLCHoklch(57.04% 0.112 242.8)
XYZxyz(16.9148, 18.8435, 45.9169)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307EB4 #B46630
analogous
#30B4A8 #307EB4 #303CB4
triadic
#307EB4 #B4307E #7EB430
tetradic
#307EB4 #A830B4 #B46630 #3CB430
square
#307EB4 #A830B4 #B46630 #3CB430
split-complementary
#307EB4 #B4303C #B4A830
monochromatic
#163A53 #235C84 #307EB4 #519CD1 #81B8DD

Accessibility & contrast

On white

4.40
#307EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#307EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307EB4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307EB4#FFFFFF#000000##000000
##307EB41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #307eb4;
/* rgb */ color: rgb(48, 126, 180);
/* oklch */ color: oklch(57.0% 0.112 242.8);
Tailwind
colors: {
  custom: {
    50: '#7aa3ca',
    500: '#307eb4',
    950: '#000000',
  },
}
SCSS
$custom: #307eb4;
$custom-light: #7aa3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#307eb4",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 204.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.11235,
    "h": 242.8
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#307EB4
secondary
#C69979
accent
#8647E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #307EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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