#1F4B88#1F4B88

#1F4B88 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.6% C 0.113 H 257.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1F4B88
RGBrgb(31, 75, 136)
HSLhsl(215, 63%, 33%)
HSVhsv(215, 77%, 53%)
CMYKcmyk(77.2%, 44.9%, 0%, 46.7%)
CIE-LABlab(32.03, 7.64, -38.43)
CIE-LCHlch(32.03, 39.19, 281.24°)
OKLaboklab(41.62% -0.0247 -0.11)
OKLCHoklch(41.62% 0.113 257.3)
XYZxyz(7.5235, 7.1002, 24.2617)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B88 #885C1F
analogous
#1F7F88 #1F4B88 #271F88
triadic
#1F4B88 #881F4B #4B881F
tetradic
#1F4B88 #881F7F #885C1F #1F8827
square
#1F4B88 #881F7F #885C1F #1F8827
split-complementary
#1F4B88 #88271F #7F881F
monochromatic
#081424 #143056 #1F4B88 #2A66BA #4B85D6

Accessibility & contrast

On white

8.68
#1F4B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1F4B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B88
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B88#FFFFFF#000000##FFFFFF
##1F4B881.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518A
Deuteranopia (green-blind)
#194787
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4b88;
/* rgb */ color: rgb(31, 75, 136);
/* oklch */ color: oklch(41.6% 0.113 257.3);
Tailwind
colors: {
  custom: {
    50: '#6a7cab',
    500: '#1f4b88',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b88;
$custom-light: #6a7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b88",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 136
  },
  "hsl": {
    "h": 214.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41624,
    "c": 0.11277,
    "h": 257.3
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#1F4B88
secondary
#B98A4A
accent
#A142E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1F4B88

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

Preview Lab → · Contrast checker → · Palette generator →

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