#1F35B0#1F35B0

#1F35B0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.195 H 267.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#1F35B0
RGBrgb(31, 53, 176)
HSLhsl(231, 70%, 41%)
HSVhsv(231, 82%, 69%)
CMYKcmyk(82.4%, 69.9%, 0%, 31%)
CIE-LABlab(29.34, 38.01, -67.08)
CIE-LCHlch(29.34, 77.10, 299.53°)
OKLaboklab(40.62% -0.0079 -0.1944)
OKLCHoklch(40.62% 0.195 267.7)
XYZxyz(9.6719, 5.9709, 41.7086)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F35B0 #B09A1F
analogous
#1F7DB0 #1F35B0 #521FB0
triadic
#1F35B0 #B01F35 #35B01F
tetradic
#1F35B0 #B01F7D #B09A1F #1FB052
square
#1F35B0 #B01F7D #B09A1F #1FB052
split-complementary
#1F35B0 #B0521F #7DB01F
monochromatic
#0D1648 #16257C #1F35B0 #314BDB #6579E4

Accessibility & contrast

On white

9.57
#1F35B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1F35B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F35B0
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F35B0#FFFFFF#000000##FFFFFF
##1F35B01.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f35b0;
/* rgb */ color: rgb(31, 53, 176);
/* oklch */ color: oklch(40.6% 0.195 267.7);
Tailwind
colors: {
  custom: {
    50: '#766cc9',
    500: '#1f35b0',
    950: '#000000',
  },
}
SCSS
$custom: #1f35b0;
$custom-light: #766cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f35b0",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 230.897,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.19454,
    "h": 267.7
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#1F35B0
secondary
#C9B962
accent
#D23BED
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1F35B0

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

Preview Lab → · Contrast checker → · Palette generator →

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