#308FB5#308FB5

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

Color values

HEX#308FB5
RGBrgb(48, 143, 181)
HSLhsl(197, 58%, 45%)
HSVhsv(197, 73%, 71%)
CMYKcmyk(73.5%, 21%, 0%, 29%)
CIE-LABlab(55.69, -14.74, -27.80)
CIE-LCHlch(55.69, 31.47, 242.07°)
OKLaboklab(61.18% -0.0679 -0.078)
OKLCHoklch(61.18% 0.103 229)
XYZxyz(19.3785, 23.6072, 47.2424)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308FB5 #B55630
analogous
#30B599 #308FB5 #304CB5
triadic
#308FB5 #B5308F #8FB530
tetradic
#308FB5 #9930B5 #B55630 #4CB530
square
#308FB5 #9930B5 #B55630 #4CB530
split-complementary
#308FB5 #B5304C #B59930
monochromatic
#164354 #236985 #308FB5 #51ACD1 #82C3DE

Accessibility & contrast

On white

3.67
#308FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#308FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308FB5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308FB5#FFFFFF#000000##000000
##308FB51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB7
Deuteranopia (green-blind)
#6980B4
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308fb5;
/* rgb */ color: rgb(48, 143, 181);
/* oklch */ color: oklch(61.2% 0.103 229.0);
Tailwind
colors: {
  custom: {
    50: '#7bafcb',
    500: '#308fb5',
    950: '#000000',
  },
}
SCSS
$custom: #308fb5;
$custom-light: #7bafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#308fb5",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 181
  },
  "hsl": {
    "h": 197.143,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.10341,
    "h": 229
  },
  "luminance": 0.23609
}

Semantic roles & 50–950 ramp

primary
#308FB5
secondary
#C7907A
accent
#7346E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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