#307FB5#307FB5

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

Color values

HEX#307FB5
RGBrgb(48, 127, 181)
HSLhsl(204, 58%, 45%)
HSVhsv(204, 73%, 71%)
CMYKcmyk(73.5%, 29.8%, 0%, 29%)
CIE-LABlab(50.85, -5.64, -35.35)
CIE-LCHlch(50.85, 35.80, 260.93°)
OKLaboklab(57.33% -0.052 -0.1)
OKLCHoklch(57.33% 0.113 242.5)
XYZxyz(17.1456, 19.1414, 46.4981)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307FB5 #B56630
analogous
#30B5A9 #307FB5 #303CB5
triadic
#307FB5 #B5307F #7FB530
tetradic
#307FB5 #A930B5 #B56630 #3CB530
square
#307FB5 #A930B5 #B56630 #3CB530
split-complementary
#307FB5 #B5303C #B5A930
monochromatic
#163B54 #235D85 #307FB5 #519DD1 #82B8DE

Accessibility & contrast

On white

4.35
#307FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#307FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307FB5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307FB5#FFFFFF#000000##000000
##307FB51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5473B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #307fb5;
/* rgb */ color: rgb(48, 127, 181);
/* oklch */ color: oklch(57.3% 0.113 242.5);
Tailwind
colors: {
  custom: {
    50: '#7aa3cb',
    500: '#307fb5',
    950: '#000000',
  },
}
SCSS
$custom: #307fb5;
$custom-light: #7aa3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#307fb5",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 204.361,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57327,
    "c": 0.11273,
    "h": 242.5
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#307FB5
secondary
#C7997A
accent
#8546E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #307FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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