#308FBA#308FBA

#308FBA is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.4% C 0.108 H 232.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#308FBA
RGBrgb(48, 143, 186)
HSLhsl(199, 59%, 46%)
HSVhsv(199, 74%, 73%)
CMYKcmyk(74.2%, 23.1%, 0%, 27.1%)
CIE-LABlab(55.90, -13.02, -30.32)
CIE-LCHlch(55.90, 33.00, 246.75°)
OKLaboklab(61.41% -0.066 -0.0853)
OKLCHoklch(61.41% 0.108 232.2)
XYZxyz(19.9008, 23.8161, 49.9930)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308FBA #BA5B30
analogous
#30BAA0 #308FBA #304ABA
triadic
#308FBA #BA308F #8FBA30
tetradic
#308FBA #A030BA #BA5B30 #4ABA30
square
#308FBA #A030BA #BA5B30 #4ABA30
split-complementary
#308FBA #BA304A #BAA030
monochromatic
#174459 #236A89 #308FBA #54ABD3 #85C3DF

Accessibility & contrast

On white

3.64
#308FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#308FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308FBA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308FBA#FFFFFF#000000##000000
##308FBA1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DBC
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#009B9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #308fba;
/* rgb */ color: rgb(48, 143, 186);
/* oklch */ color: oklch(61.4% 0.108 232.2);
Tailwind
colors: {
  custom: {
    50: '#7bafcf',
    500: '#308fba',
    950: '#000000',
  },
}
SCSS
$custom: #308fba;
$custom-light: #7bafcf;
$custom-dark: #000000;
JSON
{
  "hex": "#308fba",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 186
  },
  "hsl": {
    "h": 198.696,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.10787,
    "h": 232.2
  },
  "luminance": 0.23818
}

Semantic roles & 50–950 ramp

primary
#308FBA
secondary
#C9957D
accent
#7646E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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