#1F61AA#1F61AA

#1F61AA is a mid, vivid cyan. Relative luminance 0.117; OKLCH L 49.1% C 0.134 H 254.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#1F61AA
RGBrgb(31, 97, 170)
HSLhsl(212, 69%, 39%)
HSVhsv(212, 82%, 67%)
CMYKcmyk(81.8%, 42.9%, 0%, 33.3%)
CIE-LABlab(40.80, 6.64, -44.89)
CIE-LCHlch(40.80, 45.38, 278.41°)
OKLaboklab(49.12% -0.0367 -0.1286)
OKLCHoklch(49.12% 0.134 254.1)
XYZxyz(12.0927, 11.7415, 39.6514)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F61AA #AA681F
analogous
#1FA7AA #1F61AA #231FAA
triadic
#1F61AA #AA1F61 #61AA1F
tetradic
#1F61AA #AA1FA7 #AA681F #1FAA23
square
#1F61AA #AA1FA7 #AA681F #1FAA23
split-complementary
#1F61AA #AA231F #A7AA1F
monochromatic
#0C2642 #164376 #1F61AA #2D7FD9 #619EE2

Accessibility & contrast

On white

6.27
#1F61AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#1F61AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F61AA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F61AA#FFFFFF#000000##FFFFFF
##1F61AA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#225AA9
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f61aa;
/* rgb */ color: rgb(31, 97, 170);
/* oklch */ color: oklch(49.1% 0.134 254.1);
Tailwind
colors: {
  custom: {
    50: '#728dc4',
    500: '#1f61aa',
    950: '#000000',
  },
}
SCSS
$custom: #1f61aa;
$custom-light: #728dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f61aa",
  "rgb": {
    "r": 31,
    "g": 97,
    "b": 170
  },
  "hsl": {
    "h": 211.511,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.1337,
    "h": 254.1
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#1F61AA
secondary
#C7955E
accent
#983CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F61AA

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

Preview Lab → · Contrast checker → · Palette generator →

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