#307FB4#307FB4

#307FB4 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.112 H 242.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#307FB4
RGBrgb(48, 127, 180)
HSLhsl(204, 58%, 45%)
HSVhsv(204, 73%, 71%)
CMYKcmyk(73.3%, 29.4%, 0%, 29.4%)
CIE-LABlab(50.80, -6.00, -34.85)
CIE-LCHlch(50.80, 35.36, 260.23°)
OKLaboklab(57.27% -0.0523 -0.0985)
OKLCHoklch(57.27% 0.112 242)
XYZxyz(17.0433, 19.1005, 45.9597)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307FB4 #B46530
analogous
#30B4A7 #307FB4 #303DB4
triadic
#307FB4 #B4307F #7FB430
tetradic
#307FB4 #A730B4 #B46530 #3DB430
square
#307FB4 #A730B4 #B46530 #3DB430
split-complementary
#307FB4 #B4303D #B4A730
monochromatic
#163B53 #235D84 #307FB4 #519DD1 #81B8DD

Accessibility & contrast

On white

4.36
#307FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#307FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307FB4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307FB4#FFFFFF#000000##000000
##307FB41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B6
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #307fb4;
/* rgb */ color: rgb(48, 127, 180);
/* oklch */ color: oklch(57.3% 0.112 242.0);
Tailwind
colors: {
  custom: {
    50: '#7aa3ca',
    500: '#307fb4',
    950: '#000000',
  },
}
SCSS
$custom: #307fb4;
$custom-light: #7aa3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#307fb4",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 204.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.11158,
    "h": 242
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#307FB4
secondary
#C69879
accent
#8547E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #307FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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