#1B2C8F#1B2C8F

#1B2C8F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.163 H 268.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1B2C8F
RGBrgb(27, 44, 143)
HSLhsl(231, 68%, 33%)
HSVhsv(231, 81%, 56%)
CMYKcmyk(81.1%, 69.2%, 0%, 43.9%)
CIE-LABlab(23.73, 31.21, -56.26)
CIE-LCHlch(23.73, 64.33, 299.02°)
OKLaboklab(35.5% -0.0046 -0.1629)
OKLCHoklch(35.5% 0.163 268.4)
XYZxyz(6.3089, 4.0168, 26.4241)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C8F #8F7E1B
analogous
#1B668F #1B2C8F #441B8F
triadic
#1B2C8F #8F1B2C #2C8F1B
tetradic
#1B2C8F #8F1B66 #8F7E1B #1B8F44
square
#1B2C8F #8F1B66 #8F7E1B #1B8F44
split-complementary
#1B2C8F #8F441B #668F1B
monochromatic
#080C28 #111C5C #1B2C8F #253CC2 #485EDC

Accessibility & contrast

On white

11.64
#1B2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C8F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C8F#FFFFFF#000000##FFFFFF
##1B2C8F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2c8f;
/* rgb */ color: rgb(27, 44, 143);
/* oklch */ color: oklch(35.5% 0.163 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d65b1',
    500: '#1b2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c8f;
$custom-light: #6d65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c8f",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 231.207,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.16297,
    "h": 268.4
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#1B2C8F
secondary
#BEAD48
accent
#D23DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1B2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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