#308AB1#308AB1

#308AB1 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.102 H 230.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#308AB1
RGBrgb(48, 138, 177)
HSLhsl(198, 57%, 44%)
HSVhsv(198, 73%, 69%)
CMYKcmyk(72.9%, 22%, 0%, 30.6%)
CIE-LABlab(54.00, -13.34, -28.13)
CIE-LCHlch(54.00, 31.13, 244.64°)
OKLaboklab(59.77% -0.0643 -0.079)
OKLCHoklch(59.77% 0.102 230.9)
XYZxyz(18.2400, 21.9776, 44.8672)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308AB1 #B15730
analogous
#30B198 #308AB1 #3049B1
triadic
#308AB1 #B1308A #8AB130
tetradic
#308AB1 #9830B1 #B15730 #49B130
square
#308AB1 #9830B1 #B15730 #49B130
split-complementary
#308AB1 #B13049 #B19830
monochromatic
#163F51 #236481 #308AB1 #4FA8CF #7FC0DC

Accessibility & contrast

On white

3.89
#308AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#308AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308AB1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308AB1#FFFFFF#000000##000000
##308AB11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B3
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #308ab1;
/* rgb */ color: rgb(48, 138, 177);
/* oklch */ color: oklch(59.8% 0.102 230.9);
Tailwind
colors: {
  custom: {
    50: '#7aacc8',
    500: '#308ab1',
    950: '#000000',
  },
}
SCSS
$custom: #308ab1;
$custom-light: #7aacc8;
$custom-dark: #000000;
JSON
{
  "hex": "#308ab1",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 177
  },
  "hsl": {
    "h": 198.14,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.10189,
    "h": 230.9
  },
  "luminance": 0.2198
}

Semantic roles & 50–950 ramp

primary
#308AB1
secondary
#C58F78
accent
#7647E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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