#1F65A8#1F65A8

#1F65A8 is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 49.9% C 0.127 H 251.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#1F65A8
RGBrgb(31, 101, 168)
HSLhsl(209, 69%, 39%)
HSVhsv(209, 82%, 66%)
CMYKcmyk(81.5%, 39.9%, 0%, 34.1%)
CIE-LABlab(41.88, 3.30, -41.98)
CIE-LCHlch(41.88, 42.11, 274.50°)
OKLaboklab(49.92% -0.0406 -0.1199)
OKLCHoklch(49.92% 0.127 251.3)
XYZxyz(12.2840, 12.4243, 38.7889)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F65A8 #A8621F
analogous
#1FA8A7 #1F65A8 #1F21A8
triadic
#1F65A8 #A81F65 #65A81F
tetradic
#1F65A8 #A71FA8 #A8621F #21A81F
square
#1F65A8 #A71FA8 #A8621F #21A81F
split-complementary
#1F65A8 #A81F21 #A8A71F
monochromatic
#0C2741 #154674 #1F65A8 #2C84D8 #60A2E2

Accessibility & contrast

On white

6.03
#1F65A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#1F65A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F65A8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F65A8#FFFFFF#000000##FFFFFF
##1F65A81.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAB
Deuteranopia (green-blind)
#2E5DA7
Tritanopia (blue-blind)
#00757E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f65a8;
/* rgb */ color: rgb(31, 101, 168);
/* oklch */ color: oklch(49.9% 0.127 251.3);
Tailwind
colors: {
  custom: {
    50: '#7190c2',
    500: '#1f65a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f65a8;
$custom-light: #7190c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f65a8",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 168
  },
  "hsl": {
    "h": 209.343,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4992,
    "c": 0.12663,
    "h": 251.3
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#1F65A8
secondary
#C6905D
accent
#923CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F65A8

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

Preview Lab → · Contrast checker → · Palette generator →

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