#1F4B83#1F4B83

#1F4B83 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.106 H 255.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#1F4B83
RGBrgb(31, 75, 131)
HSLhsl(214, 62%, 32%)
HSVhsv(214, 76%, 51%)
CMYKcmyk(76.3%, 42.7%, 0%, 48.6%)
CIE-LABlab(31.72, 5.64, -35.85)
CIE-LCHlch(31.72, 36.29, 278.95°)
OKLaboklab(41.28% -0.0258 -0.1024)
OKLCHoklch(41.28% 0.106 255.9)
XYZxyz(7.1764, 6.9614, 22.4338)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B83 #83571F
analogous
#1F7D83 #1F4B83 #251F83
triadic
#1F4B83 #831F4B #4B831F
tetradic
#1F4B83 #831F7D #83571F #1F8325
square
#1F4B83 #831F7D #83571F #1F8325
split-complementary
#1F4B83 #83251F #7D831F
monochromatic
#081220 #132F52 #1F4B83 #2B67B4 #4986D4

Accessibility & contrast

On white

8.78
#1F4B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1F4B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B83
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B83#FFFFFF#000000##FFFFFF
##1F4B831.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305085
Deuteranopia (green-blind)
#1F4682
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4b83;
/* rgb */ color: rgb(31, 75, 131);
/* oklch */ color: oklch(41.3% 0.106 255.9);
Tailwind
colors: {
  custom: {
    50: '#697ca7',
    500: '#1f4b83',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b83;
$custom-light: #697ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b83",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 131
  },
  "hsl": {
    "h": 213.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41277,
    "c": 0.10564,
    "h": 255.9
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#1F4B83
secondary
#B68548
accent
#9E43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4B83

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

Preview Lab → · Contrast checker → · Palette generator →

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