#1F64A7#1F64A7

#1F64A7 is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.6% C 0.126 H 251.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#1F64A7
RGBrgb(31, 100, 167)
HSLhsl(210, 69%, 39%)
HSVhsv(210, 81%, 65%)
CMYKcmyk(81.4%, 40.1%, 0%, 34.5%)
CIE-LABlab(41.52, 3.55, -41.96)
CIE-LCHlch(41.52, 42.11, 274.83°)
OKLaboklab(49.62% -0.0399 -0.1199)
OKLCHoklch(49.62% 0.126 251.6)
XYZxyz(12.0947, 12.1942, 38.2680)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F64A7 #A7621F
analogous
#1FA7A6 #1F64A7 #1F20A7
triadic
#1F64A7 #A71F64 #64A71F
tetradic
#1F64A7 #A61FA7 #A7621F #20A71F
square
#1F64A7 #A61FA7 #A7621F #20A71F
split-complementary
#1F64A7 #A71F20 #A7A61F
monochromatic
#0C2640 #154573 #1F64A7 #2B83D8 #5FA1E1

Accessibility & contrast

On white

6.11
#1F64A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#1F64A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F64A7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F64A7#FFFFFF#000000##FFFFFF
##1F64A71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4469AA
Deuteranopia (green-blind)
#2D5CA6
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f64a7;
/* rgb */ color: rgb(31, 100, 167);
/* oklch */ color: oklch(49.6% 0.126 251.6);
Tailwind
colors: {
  custom: {
    50: '#718fc1',
    500: '#1f64a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f64a7;
$custom-light: #718fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f64a7",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 167
  },
  "hsl": {
    "h": 209.559,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.1264,
    "h": 251.6
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#1F64A7
secondary
#C6905C
accent
#933CEC
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F64A7

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

Preview Lab → · Contrast checker → · Palette generator →

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