#1F3085#1F3085

#1F3085 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.143 H 269.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#1F3085
RGBrgb(31, 48, 133)
HSLhsl(230, 62%, 32%)
HSVhsv(230, 77%, 52%)
CMYKcmyk(76.7%, 63.9%, 0%, 47.8%)
CIE-LABlab(23.99, 25.08, -49.58)
CIE-LCHlch(23.99, 55.56, 296.83°)
OKLaboklab(35.45% -0.0026 -0.1433)
OKLCHoklch(35.45% 0.143 269)
XYZxyz(5.8542, 4.0980, 22.6682)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3085 #85741F
analogous
#1F6385 #1F3085 #411F85
triadic
#1F3085 #851F30 #30851F
tetradic
#1F3085 #851F63 #85741F #1F8541
square
#1F3085 #851F63 #85741F #1F8541
split-complementary
#1F3085 #85411F #63851F
monochromatic
#080C22 #131E53 #1F3085 #2B42B7 #4A61D5

Accessibility & contrast

On white

11.54
#1F3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1F3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3085
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3085#FFFFFF#000000##FFFFFF
##1F30851.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f3085;
/* rgb */ color: rgb(31, 48, 133);
/* oklch */ color: oklch(35.5% 0.143 269.0);
Tailwind
colors: {
  custom: {
    50: '#6b68a9',
    500: '#1f3085',
    950: '#000000',
  },
}
SCSS
$custom: #1f3085;
$custom-light: #6b68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3085",
  "rgb": {
    "r": 31,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 230,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35454,
    "c": 0.1433,
    "h": 269
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#1F3085
secondary
#B7A549
accent
#CA43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1F3085

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

Preview Lab → · Contrast checker → · Palette generator →

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