#1F5694#1F5694

#1F5694 is a mid, moderate cyan. Relative luminance 0.091; OKLCH L 45.1% C 0.117 H 254.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#1F5694
RGBrgb(31, 86, 148)
HSLhsl(212, 65%, 35%)
HSVhsv(212, 79%, 58%)
CMYKcmyk(79.1%, 41.9%, 0%, 42%)
CIE-LABlab(36.15, 5.11, -39.18)
CIE-LCHlch(36.15, 39.51, 277.43°)
OKLaboklab(45.06% -0.0321 -0.112)
OKLCHoklch(45.06% 0.117 254)
XYZxyz(9.2362, 9.0839, 29.2778)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5694 #945D1F
analogous
#1F9094 #1F5694 #231F94
triadic
#1F5694 #941F56 #56941F
tetradic
#1F5694 #941F90 #945D1F #1F9423
square
#1F5694 #941F90 #945D1F #1F9423
split-complementary
#1F5694 #94231F #90941F
monochromatic
#0A1B2F #143961 #1F5694 #2A73C7 #5393DB

Accessibility & contrast

On white

7.45
#1F5694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#1F5694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5694
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5694#FFFFFF#000000##FFFFFF
##1F56941.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B96
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5694;
/* rgb */ color: rgb(31, 86, 148);
/* oklch */ color: oklch(45.1% 0.117 254.0);
Tailwind
colors: {
  custom: {
    50: '#6d85b4',
    500: '#1f5694',
    950: '#000000',
  },
}
SCSS
$custom: #1f5694;
$custom-light: #6d85b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5694",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 148
  },
  "hsl": {
    "h": 211.795,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.11653,
    "h": 254
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#1F5694
secondary
#BE8B51
accent
#993FE8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5694

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

Preview Lab → · Contrast checker → · Palette generator →

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