#1F83A8#1F83A8

#1F83A8 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.2% C 0.103 H 228.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F83A8
RGBrgb(31, 131, 168)
HSLhsl(196, 69%, 39%)
HSVhsv(196, 82%, 66%)
CMYKcmyk(81.5%, 22%, 0%, 34.1%)
CIE-LABlab(51.09, -14.58, -27.49)
CIE-LCHlch(51.09, 31.12, 242.06°)
OKLaboklab(57.21% -0.0682 -0.0773)
OKLCHoklch(57.21% 0.103 228.6)
XYZxyz(15.7463, 19.3491, 39.9430)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F83A8 #A8441F
analogous
#1FA889 #1F83A8 #1F3FA8
triadic
#1F83A8 #A81F83 #83A81F
tetradic
#1F83A8 #891FA8 #A8441F #3FA81F
square
#1F83A8 #891FA8 #A8441F #3FA81F
split-complementary
#1F83A8 #A81F3F #A8891F
monochromatic
#0C3241 #155B74 #1F83A8 #2CAAD8 #60BFE2

Accessibility & contrast

On white

4.31
#1F83A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1F83A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F83A8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F83A8#FFFFFF#000000##000000
##1F83A81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7081AA
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#008D8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f83a8;
/* rgb */ color: rgb(31, 131, 168);
/* oklch */ color: oklch(57.2% 0.103 228.6);
Tailwind
colors: {
  custom: {
    50: '#73a7c2',
    500: '#1f83a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f83a8;
$custom-light: #73a7c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f83a8",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 168
  },
  "hsl": {
    "h": 196.204,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.10315,
    "h": 228.6
  },
  "luminance": 0.19351
}

Semantic roles & 50–950 ramp

primary
#1F83A8
secondary
#C6795D
accent
#6C3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F83A8

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

Preview Lab → · Contrast checker → · Palette generator →

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