#1F3089#1F3089

#1F3089 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.149 H 268.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1F3089
RGBrgb(31, 48, 137)
HSLhsl(230, 63%, 33%)
HSVhsv(230, 77%, 54%)
CMYKcmyk(77.4%, 65%, 0%, 46.3%)
CIE-LABlab(24.36, 26.63, -51.49)
CIE-LCHlch(24.36, 57.97, 297.35°)
OKLaboklab(35.83% -0.0027 -0.1489)
OKLCHoklch(35.83% 0.149 268.9)
XYZxyz(6.1358, 4.2107, 24.1514)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3089 #89781F
analogous
#1F6589 #1F3089 #431F89
triadic
#1F3089 #891F30 #30891F
tetradic
#1F3089 #891F65 #89781F #1F8943
square
#1F3089 #891F65 #89781F #1F8943
split-complementary
#1F3089 #89431F #65891F
monochromatic
#080D25 #141F57 #1F3089 #2A41BB #4C62D6

Accessibility & contrast

On white

11.40
#1F3089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1F3089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3089
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3089#FFFFFF#000000##FFFFFF
##1F30891.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f3089;
/* rgb */ color: rgb(31, 48, 137);
/* oklch */ color: oklch(35.8% 0.149 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c68ac',
    500: '#1f3089',
    950: '#000000',
  },
}
SCSS
$custom: #1f3089;
$custom-light: #6c68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3089",
  "rgb": {
    "r": 31,
    "g": 48,
    "b": 137
  },
  "hsl": {
    "h": 230.377,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35834,
    "c": 0.14889,
    "h": 268.9
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#1F3089
secondary
#B9A74B
accent
#CC42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1F3089

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

Preview Lab → · Contrast checker → · Palette generator →

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