#308FB4#308FB4

#308FB4 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.1% C 0.103 H 228.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#308FB4
RGBrgb(48, 143, 180)
HSLhsl(197, 58%, 45%)
HSVhsv(197, 73%, 71%)
CMYKcmyk(73.3%, 20.6%, 0%, 29.4%)
CIE-LABlab(55.65, -15.08, -27.30)
CIE-LCHlch(55.65, 31.18, 241.09°)
OKLaboklab(61.13% -0.0682 -0.0766)
OKLCHoklch(61.13% 0.103 228.3)
XYZxyz(19.2763, 23.5663, 46.7040)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308FB4 #B45530
analogous
#30B497 #308FB4 #304DB4
triadic
#308FB4 #B4308F #8FB430
tetradic
#308FB4 #9730B4 #B45530 #4DB430
square
#308FB4 #9730B4 #B45530 #4DB430
split-complementary
#308FB4 #B4304D #B49730
monochromatic
#164253 #236984 #308FB4 #51ADD1 #81C4DD

Accessibility & contrast

On white

3.68
#308FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#308FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308FB4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308FB4#FFFFFF#000000##000000
##308FB41.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8DB6
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308fb4;
/* rgb */ color: rgb(48, 143, 180);
/* oklch */ color: oklch(61.1% 0.103 228.3);
Tailwind
colors: {
  custom: {
    50: '#7bafca',
    500: '#308fb4',
    950: '#000000',
  },
}
SCSS
$custom: #308fb4;
$custom-light: #7bafca;
$custom-dark: #000000;
JSON
{
  "hex": "#308fb4",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 180
  },
  "hsl": {
    "h": 196.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.10257,
    "h": 228.3
  },
  "luminance": 0.23569
}

Semantic roles & 50–950 ramp

primary
#308FB4
secondary
#C68F79
accent
#7247E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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