#1F3485#1F3485

#1F3485 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.138 H 267.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#1F3485
RGBrgb(31, 52, 133)
HSLhsl(228, 62%, 32%)
HSVhsv(228, 77%, 52%)
CMYKcmyk(76.7%, 60.9%, 0%, 47.8%)
CIE-LABlab(25.08, 22.31, -47.81)
CIE-LCHlch(25.08, 52.76, 295.02°)
OKLaboklab(36.26% -0.0055 -0.138)
OKLCHoklch(36.26% 0.138 267.7)
XYZxyz(6.0252, 4.4401, 22.7252)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3485 #85701F
analogous
#1F6785 #1F3485 #3D1F85
triadic
#1F3485 #851F34 #34851F
tetradic
#1F3485 #851F67 #85701F #1F853D
square
#1F3485 #851F67 #85701F #1F853D
split-complementary
#1F3485 #853D1F #67851F
monochromatic
#080D22 #132153 #1F3485 #2B47B7 #4A66D5

Accessibility & contrast

On white

11.12
#1F3485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1F3485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3485
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3485#FFFFFF#000000##FFFFFF
##1F34851.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f3485;
/* rgb */ color: rgb(31, 52, 133);
/* oklch */ color: oklch(36.3% 0.138 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ba9',
    500: '#1f3485',
    950: '#000000',
  },
}
SCSS
$custom: #1f3485;
$custom-light: #6b6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3485",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 227.647,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36258,
    "c": 0.13815,
    "h": 267.7
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#1F3485
secondary
#B7A049
accent
#C443E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1F3485

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

Preview Lab → · Contrast checker → · Palette generator →

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