#1F1075#1F1075

#1F1075 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.6% C 0.157 H 276.6°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#1F1075
RGBrgb(31, 16, 117)
HSLhsl(249, 76%, 26%)
HSVhsv(249, 86%, 46%)
CMYKcmyk(73.5%, 86.3%, 0%, 54.1%)
CIE-LABlab(15.20, 38.85, -53.89)
CIE-LCHlch(15.20, 66.43, 305.79°)
OKLaboklab(28.64% 0.0181 -0.1557)
OKLCHoklch(28.64% 0.157 276.6)
XYZxyz(3.9602, 1.9459, 16.9931)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1075 #667510
analogous
#103375 #1F1075 #511075
triadic
#1F1075 #751F10 #10751F
tetradic
#1F1075 #751033 #667510 #107551
square
#1F1075 #751033 #667510 #107551
split-complementary
#1F1075 #755110 #337510
monochromatic
#07041B #11093F #1F1075 #2D17AB #3C1FE0

Accessibility & contrast

On white

15.12
#1F1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1F1075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1075
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1075#FFFFFF#000000##FFFFFF
##1F10751.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f1075;
/* rgb */ color: rgb(31, 16, 117);
/* oklch */ color: oklch(28.6% 0.157 276.6);
Tailwind
colors: {
  custom: {
    50: '#6a529e',
    500: '#1f1075',
    950: '#000000',
  },
}
SCSS
$custom: #1f1075;
$custom-light: #6a529e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1075",
  "rgb": {
    "r": 31,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 248.911,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28644,
    "c": 0.15676,
    "h": 276.6
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#1F1075
secondary
#9AAC35
accent
#F335D6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #1F1075

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

Preview Lab → · Contrast checker → · Palette generator →

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