#307FB3#307FB3

#307FB3 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.2% C 0.110 H 241.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#307FB3
RGBrgb(48, 127, 179)
HSLhsl(204, 58%, 45%)
HSVhsv(204, 73%, 70%)
CMYKcmyk(73.2%, 29.1%, 0%, 29.8%)
CIE-LABlab(50.76, -6.36, -34.34)
CIE-LCHlch(50.76, 34.93, 259.52°)
OKLaboklab(57.22% -0.0527 -0.0971)
OKLCHoklch(57.22% 0.11 241.5)
XYZxyz(16.9418, 19.0599, 45.4251)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307FB3 #B36430
analogous
#30B3A6 #307FB3 #303EB3
triadic
#307FB3 #B3307F #7FB330
tetradic
#307FB3 #A630B3 #B36430 #3EB330
square
#307FB3 #A630B3 #B36430 #3EB330
split-complementary
#307FB3 #B3303E #B3A630
monochromatic
#163B52 #235D83 #307FB3 #509DD0 #80B8DD

Accessibility & contrast

On white

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

On black

4.81
#307FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307FB3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307FB3#FFFFFF#000000##000000
##307FB31.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B5
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #307fb3;
/* rgb */ color: rgb(48, 127, 179);
/* oklch */ color: oklch(57.2% 0.110 241.5);
Tailwind
colors: {
  custom: {
    50: '#7aa3ca',
    500: '#307fb3',
    950: '#000000',
  },
}
SCSS
$custom: #307fb3;
$custom-light: #7aa3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#307fb3",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 203.817,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.11044,
    "h": 241.5
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#307FB3
secondary
#C69779
accent
#8447E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #307FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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