#307AAC#307AAC

#307AAC is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.106 H 242.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#307AAC
RGBrgb(48, 122, 172)
HSLhsl(204, 56%, 43%)
HSVhsv(204, 72%, 67%)
CMYKcmyk(72.1%, 29.1%, 0%, 32.5%)
CIE-LABlab(48.91, -5.92, -33.18)
CIE-LCHlch(48.91, 33.70, 259.89°)
OKLaboklab(55.65% -0.0499 -0.0938)
OKLCHoklch(55.65% 0.106 242)
XYZxyz(15.6220, 17.5243, 41.5809)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307AAC #AC6230
analogous
#30ACA0 #307AAC #303CAC
triadic
#307AAC #AC307A #7AAC30
tetradic
#307AAC #A030AC #AC6230 #3CAC30
square
#307AAC #A030AC #AC6230 #3CAC30
split-complementary
#307AAC #AC303C #ACA030
monochromatic
#15364C #23587C #307AAC #4C99CD #7CB4DA

Accessibility & contrast

On white

4.66
#307AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#307AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #307AAC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307AAC#FFFFFF#000000##FFFFFF
##307AAC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637BAE
Deuteranopia (green-blind)
#526FAB
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #307aac;
/* rgb */ color: rgb(48, 122, 172);
/* oklch */ color: oklch(55.7% 0.106 242.0);
Tailwind
colors: {
  custom: {
    50: '#78a0c5',
    500: '#307aac',
    950: '#000000',
  },
}
SCSS
$custom: #307aac;
$custom-light: #78a0c5;
$custom-dark: #000000;
JSON
{
  "hex": "#307aac",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 172
  },
  "hsl": {
    "h": 204.194,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.10624,
    "h": 242
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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