#3081B2#3081B2

#3081B2 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.108 H 239.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3081B2
RGBrgb(48, 129, 178)
HSLhsl(203, 58%, 44%)
HSVhsv(203, 73%, 70%)
CMYKcmyk(73%, 27.5%, 0%, 30.2%)
CIE-LABlab(51.31, -7.87, -32.90)
CIE-LCHlch(51.31, 33.82, 256.54°)
OKLaboklab(57.65% -0.055 -0.0928)
OKLCHoklch(57.65% 0.108 239.4)
XYZxyz(17.1019, 19.5413, 44.9814)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3081B2 #B26130
analogous
#30B2A2 #3081B2 #3040B2
triadic
#3081B2 #B23081 #81B230
tetradic
#3081B2 #A230B2 #B26130 #40B230
square
#3081B2 #A230B2 #B26130 #40B230
split-complementary
#3081B2 #B23040 #B2A230
monochromatic
#163B52 #235E82 #3081B2 #509FD0 #80BADD

Accessibility & contrast

On white

4.28
#3081B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3081B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3081B2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3081B2#FFFFFF#000000##000000
##3081B21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3081b2;
/* rgb */ color: rgb(48, 129, 178);
/* oklch */ color: oklch(57.6% 0.108 239.4);
Tailwind
colors: {
  custom: {
    50: '#79a5c9',
    500: '#3081b2',
    950: '#000000',
  },
}
SCSS
$custom: #3081b2;
$custom-light: #79a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3081b2",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 202.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.1079,
    "h": 239.4
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#3081B2
secondary
#C69578
accent
#8147E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3081B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3081B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva