#1F65B1#1F65B1

#1F65B1 is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.5% C 0.138 H 253.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F65B1
RGBrgb(31, 101, 177)
HSLhsl(211, 70%, 41%)
HSVhsv(211, 82%, 69%)
CMYKcmyk(82.5%, 42.9%, 0%, 30.6%)
CIE-LABlab(42.42, 6.82, -46.42)
CIE-LCHlch(42.42, 46.92, 278.35°)
OKLaboklab(50.51% -0.0385 -0.133)
OKLCHoklch(50.51% 0.138 253.9)
XYZxyz(13.1516, 12.7714, 43.3584)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F65B1 #B16B1F
analogous
#1FAEB1 #1F65B1 #221FB1
triadic
#1F65B1 #B11F65 #65B11F
tetradic
#1F65B1 #B11FAE #B16B1F #1FB122
square
#1F65B1 #B11FAE #B16B1F #1FB122
split-complementary
#1F65B1 #B1221F #AEB11F
monochromatic
#0D2A49 #16477D #1F65B1 #3283DB #66A3E4

Accessibility & contrast

On white

5.91
#1F65B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1F65B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F65B1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F65B1#FFFFFF#000000##FFFFFF
##1F65B11.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB4
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f65b1;
/* rgb */ color: rgb(31, 101, 177);
/* oklch */ color: oklch(50.5% 0.138 253.9);
Tailwind
colors: {
  custom: {
    50: '#7390c9',
    500: '#1f65b1',
    950: '#000000',
  },
}
SCSS
$custom: #1f65b1;
$custom-light: #7390c9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f65b1",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 177
  },
  "hsl": {
    "h": 211.233,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50509,
    "c": 0.13845,
    "h": 253.9
  },
  "luminance": 0.12773
}

Semantic roles & 50–950 ramp

primary
#1F65B1
secondary
#CA9862
accent
#983BED
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #1F65B1

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

Preview Lab → · Contrast checker → · Palette generator →

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