#1B3F95#1B3F95

#1B3F95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.148 H 263.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#1B3F95
RGBrgb(27, 63, 149)
HSLhsl(222, 69%, 35%)
HSVhsv(222, 82%, 58%)
CMYKcmyk(81.9%, 57.7%, 0%, 41.6%)
CIE-LABlab(29.30, 20.63, -50.83)
CIE-LCHlch(29.30, 54.85, 292.09°)
OKLaboklab(39.8% -0.016 -0.1468)
OKLCHoklch(39.8% 0.148 263.8)
XYZxyz(7.6524, 5.9570, 29.1745)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F95 #95711B
analogous
#1B7C95 #1B3F95 #341B95
triadic
#1B3F95 #951B3F #3F951B
tetradic
#1B3F95 #951B7C #95711B #1B9534
square
#1B3F95 #951B7C #95711B #1B9534
split-complementary
#1B3F95 #95341B #7C951B
monochromatic
#08132D #122961 #1B3F95 #2455C9 #4C77DF

Accessibility & contrast

On white

9.58
#1B3F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3F95
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F95#FFFFFF#000000##FFFFFF
##1B3F951.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3f95;
/* rgb */ color: rgb(27, 63, 149);
/* oklch */ color: oklch(39.8% 0.148 263.8);
Tailwind
colors: {
  custom: {
    50: '#6d73b5',
    500: '#1b3f95',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f95;
$custom-light: #6d73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f95",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 222.295,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.14765,
    "h": 263.8
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#1B3F95
secondary
#C19E4B
accent
#B83CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B3F95

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

Preview Lab → · Contrast checker → · Palette generator →

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