#308EB3#308EB3

#308EB3 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.102 H 228.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#308EB3
RGBrgb(48, 142, 179)
HSLhsl(197, 58%, 45%)
HSVhsv(197, 73%, 70%)
CMYKcmyk(73.2%, 20.7%, 0%, 29.8%)
CIE-LABlab(55.31, -14.87, -27.26)
CIE-LCHlch(55.31, 31.05, 241.39°)
OKLaboklab(60.84% -0.0676 -0.0765)
OKLCHoklch(60.84% 0.102 228.5)
XYZxyz(19.0253, 23.2268, 46.1196)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EB3 #B35530
analogous
#30B397 #308EB3 #304CB3
triadic
#308EB3 #B3308E #8EB330
tetradic
#308EB3 #9730B3 #B35530 #4CB330
square
#308EB3 #9730B3 #B35530 #4CB330
split-complementary
#308EB3 #B3304C #B39730
monochromatic
#164152 #236883 #308EB3 #50ACD0 #80C3DD

Accessibility & contrast

On white

3.72
#308EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#308EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EB3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EB3#FFFFFF#000000##000000
##308EB31.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB5
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308eb3;
/* rgb */ color: rgb(48, 142, 179);
/* oklch */ color: oklch(60.8% 0.102 228.5);
Tailwind
colors: {
  custom: {
    50: '#7aafca',
    500: '#308eb3',
    950: '#000000',
  },
}
SCSS
$custom: #308eb3;
$custom-light: #7aafca;
$custom-dark: #000000;
JSON
{
  "hex": "#308eb3",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 196.947,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.10207,
    "h": 228.5
  },
  "luminance": 0.23229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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