#1F3285#1F3285

#1F3285 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.141 H 268.4°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1F3285
RGBrgb(31, 50, 133)
HSLhsl(229, 62%, 32%)
HSVhsv(229, 77%, 52%)
CMYKcmyk(76.7%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.53, 23.70, -48.71)
CIE-LCHlch(24.53, 54.16, 295.95°)
OKLaboklab(35.85% -0.004 -0.1407)
OKLCHoklch(35.85% 0.141 268.4)
XYZxyz(5.9378, 4.2653, 22.6961)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3285 #85721F
analogous
#1F6585 #1F3285 #3F1F85
triadic
#1F3285 #851F32 #32851F
tetradic
#1F3285 #851F65 #85721F #1F853F
square
#1F3285 #851F65 #85721F #1F853F
split-complementary
#1F3285 #853F1F #65851F
monochromatic
#080D22 #131F53 #1F3285 #2B45B7 #4A64D5

Accessibility & contrast

On white

11.33
#1F3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1F3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3285
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3285#FFFFFF#000000##FFFFFF
##1F32851.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f3285;
/* rgb */ color: rgb(31, 50, 133);
/* oklch */ color: oklch(35.9% 0.141 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b69a9',
    500: '#1f3285',
    950: '#000000',
  },
}
SCSS
$custom: #1f3285;
$custom-light: #6b69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3285",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 228.824,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.14074,
    "h": 268.4
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#1F3285
secondary
#B7A349
accent
#C743E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1F3285

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

Preview Lab → · Contrast checker → · Palette generator →

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