#1F64AA#1F64AA

#1F64AA is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 49.8% C 0.130 H 252.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#1F64AA
RGBrgb(31, 100, 170)
HSLhsl(210, 69%, 39%)
HSVhsv(210, 82%, 67%)
CMYKcmyk(81.8%, 41.2%, 0%, 33.3%)
CIE-LABlab(41.70, 4.72, -43.45)
CIE-LCHlch(41.70, 43.71, 276.20°)
OKLaboklab(49.81% -0.0392 -0.1243)
OKLCHoklch(49.81% 0.13 252.5)
XYZxyz(12.3752, 12.3064, 39.7456)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F64AA #AA651F
analogous
#1FAAAA #1F64AA #201FAA
triadic
#1F64AA #AA1F64 #64AA1F
tetradic
#1F64AA #AA1FAA #AA651F #1FAA20
square
#1F64AA #AA1FAA #AA651F #1FAA20
split-complementary
#1F64AA #AA201F #AAAA1F
monochromatic
#0C2742 #164676 #1F64AA #2D82D9 #61A1E2

Accessibility & contrast

On white

6.07
#1F64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#1F64AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F64AA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F64AA#FFFFFF#000000##FFFFFF
##1F64AA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#2A5DA9
Tritanopia (blue-blind)
#00757E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f64aa;
/* rgb */ color: rgb(31, 100, 170);
/* oklch */ color: oklch(49.8% 0.130 252.5);
Tailwind
colors: {
  custom: {
    50: '#728fc4',
    500: '#1f64aa',
    950: '#000000',
  },
}
SCSS
$custom: #1f64aa;
$custom-light: #728fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f64aa",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 210.216,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.13033,
    "h": 252.5
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#1F64AA
secondary
#C7935E
accent
#953CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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