#1B3EB3#1B3EB3

#1B3EB3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.189 H 265.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#1B3EB3
RGBrgb(27, 62, 179)
HSLhsl(226, 74%, 40%)
HSVhsv(226, 85%, 70%)
CMYKcmyk(84.9%, 65.4%, 0%, 29.8%)
CIE-LABlab(31.65, 33.05, -65.07)
CIE-LCHlch(31.65, 72.98, 296.93°)
OKLaboklab(42.35% -0.0149 -0.1885)
OKLCHoklch(42.35% 0.189 265.5)
XYZxyz(10.3084, 6.9317, 43.4337)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3EB3 #B3901B
analogous
#1B8AB3 #1B3EB3 #441BB3
triadic
#1B3EB3 #B31B3E #3EB31B
tetradic
#1B3EB3 #B31B8A #B3901B #1BB344
square
#1B3EB3 #B31B8A #B3901B #1BB344
split-complementary
#1B3EB3 #B3441B #8AB31B
monochromatic
#0B1949 #132C7E #1B3EB3 #2C55DF #6180E7

Accessibility & contrast

On white

8.80
#1B3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3EB3
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3EB3#FFFFFF#000000##FFFFFF
##1B3EB31.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b3eb3;
/* rgb */ color: rgb(27, 62, 179);
/* oklch */ color: oklch(42.4% 0.189 265.5);
Tailwind
colors: {
  custom: {
    50: '#7573cb',
    500: '#1b3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #1b3eb3;
$custom-light: #7573cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3eb3",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 226.184,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.18912,
    "h": 265.5
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#1B3EB3
secondary
#CCB25E
accent
#C637F0
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1B3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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