#1F35A9#1F35A9

#1F35A9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.186 H 267.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1F35A9
RGBrgb(31, 53, 169)
HSLhsl(230, 69%, 39%)
HSVhsv(230, 82%, 66%)
CMYKcmyk(81.7%, 68.6%, 0%, 33.7%)
CIE-LABlab(28.65, 35.44, -64.03)
CIE-LCHlch(28.65, 73.18, 298.96°)
OKLaboklab(39.9% -0.0073 -0.1855)
OKLCHoklch(39.9% 0.186 267.7)
XYZxyz(8.9971, 5.7010, 38.1546)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F35A9 #A9931F
analogous
#1F7AA9 #1F35A9 #4E1FA9
triadic
#1F35A9 #A91F35 #35A91F
tetradic
#1F35A9 #A91F7A #A9931F #1FA94E
square
#1F35A9 #A91F7A #A9931F #1FA94E
split-complementary
#1F35A9 #A94E1F #7AA91F
monochromatic
#0C1542 #162575 #1F35A9 #2D48D8 #6075E2

Accessibility & contrast

On white

9.81
#1F35A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1F35A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F35A9
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F35A9#FFFFFF#000000##FFFFFF
##1F35A91.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f35a9;
/* rgb */ color: rgb(31, 53, 169);
/* oklch */ color: oklch(39.9% 0.186 267.7);
Tailwind
colors: {
  custom: {
    50: '#746cc4',
    500: '#1f35a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f35a9;
$custom-light: #746cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f35a9",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 230.435,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.18562,
    "h": 267.7
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#1F35A9
secondary
#C7B65D
accent
#D03CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1F35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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