#1B3FAA#1B3FAA

#1B3FAA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.176 H 265.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#1B3FAA
RGBrgb(27, 63, 170)
HSLhsl(225, 73%, 39%)
HSVhsv(225, 84%, 67%)
CMYKcmyk(84.1%, 62.9%, 0%, 33.3%)
CIE-LABlab(31.09, 28.93, -60.62)
CIE-LCHlch(31.09, 67.17, 295.51°)
OKLaboklab(41.69% -0.0153 -0.1755)
OKLCHoklch(41.69% 0.176 265)
XYZxyz(9.4826, 6.6891, 38.8138)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3FAA #AA861B
analogous
#1B86AA #1B3FAA #3E1BAA
triadic
#1B3FAA #AA1B3F #3FAA1B
tetradic
#1B3FAA #AA1B86 #AA861B #1BAA3E
square
#1B3FAA #AA1B86 #AA861B #1BAA3E
split-complementary
#1B3FAA #AA3E1B #86AA1B
monochromatic
#0A1840 #132B75 #1B3FAA #2654DC #5B7DE5

Accessibility & contrast

On white

8.98
#1B3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1B3FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3FAA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3FAA#FFFFFF#000000##FFFFFF
##1B3FAA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b3faa;
/* rgb */ color: rgb(27, 63, 170);
/* oklch */ color: oklch(41.7% 0.176 265.0);
Tailwind
colors: {
  custom: {
    50: '#7373c4',
    500: '#1b3faa',
    950: '#000000',
  },
}
SCSS
$custom: #1b3faa;
$custom-light: #7373c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3faa",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 224.895,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.17618,
    "h": 265
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#1B3FAA
secondary
#C9AC58
accent
#C139EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1B3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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