#1F82B4#1F82B4

#1F82B4 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.6% C 0.115 H 236.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F82B4
RGBrgb(31, 130, 180)
HSLhsl(200, 71%, 41%)
HSVhsv(200, 83%, 71%)
CMYKcmyk(82.8%, 27.8%, 0%, 29.4%)
CIE-LABlab(51.32, -9.68, -34.06)
CIE-LCHlch(51.32, 35.41, 254.13°)
OKLaboklab(57.58% -0.063 -0.0963)
OKLCHoklch(57.58% 0.115 236.8)
XYZxyz(16.7826, 19.5497, 46.0601)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F82B4 #B4511F
analogous
#1FB49C #1F82B4 #1F38B4
triadic
#1F82B4 #B41F82 #82B41F
tetradic
#1F82B4 #9C1FB4 #B4511F #38B41F
square
#1F82B4 #9C1FB4 #B4511F #38B41F
split-complementary
#1F82B4 #B41F38 #B49C1F
monochromatic
#0D374C #165C80 #1F82B4 #34A4DC #68BBE5

Accessibility & contrast

On white

4.28
#1F82B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#1F82B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F82B4#FFFFFF#000000##000000
##1F82B41.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)
#6A82B6
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#008F93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f82b4;
/* rgb */ color: rgb(31, 130, 180);
/* oklch */ color: oklch(57.6% 0.115 236.8);
Tailwind
colors: {
  custom: {
    50: '#75a6ca',
    500: '#1f82b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f82b4;
$custom-light: #75a6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f82b4",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 180
  },
  "hsl": {
    "h": 200.134,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.11514,
    "h": 236.8
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#1F82B4
secondary
#CB8764
accent
#763AED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #1F82B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1F82B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva