#307BAC#307BAC

#307BAC is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.105 H 241.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#307BAC
RGBrgb(48, 123, 172)
HSLhsl(204, 56%, 43%)
HSVhsv(204, 72%, 67%)
CMYKcmyk(72.1%, 28.5%, 0%, 32.5%)
CIE-LABlab(49.22, -6.50, -32.71)
CIE-LCHlch(49.22, 33.35, 258.75°)
OKLaboklab(55.89% -0.0509 -0.0924)
OKLCHoklch(55.89% 0.105 241.1)
XYZxyz(15.7454, 17.7711, 41.6221)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307BAC #AC6130
analogous
#30AC9F #307BAC #303DAC
triadic
#307BAC #AC307B #7BAC30
tetradic
#307BAC #9F30AC #AC6130 #3DAC30
square
#307BAC #9F30AC #AC6130 #3DAC30
split-complementary
#307BAC #AC303D #AC9F30
monochromatic
#15374C #23597C #307BAC #4C9ACD #7CB5DA

Accessibility & contrast

On white

4.61
#307BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#307BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #307BAC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307BAC#FFFFFF#000000##FFFFFF
##307BAC1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647CAE
Deuteranopia (green-blind)
#5370AB
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #307bac;
/* rgb */ color: rgb(48, 123, 172);
/* oklch */ color: oklch(55.9% 0.105 241.1);
Tailwind
colors: {
  custom: {
    50: '#78a1c5',
    500: '#307bac',
    950: '#000000',
  },
}
SCSS
$custom: #307bac;
$custom-light: #78a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#307bac",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 172
  },
  "hsl": {
    "h": 203.71,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.10549,
    "h": 241.1
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#307BAC
secondary
#C39475
accent
#8448E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #307BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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