#1B2B8F#1B2B8F

#1B2B8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.164 H 268.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#1B2B8F
RGBrgb(27, 43, 143)
HSLhsl(232, 68%, 33%)
HSVhsv(232, 81%, 56%)
CMYKcmyk(81.1%, 69.9%, 0%, 43.9%)
CIE-LABlab(23.48, 31.87, -56.66)
CIE-LCHlch(23.48, 65.00, 299.36°)
OKLaboklab(35.32% -0.004 -0.1641)
OKLCHoklch(35.32% 0.164 268.6)
XYZxyz(6.2721, 3.9432, 26.4118)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B8F #8F7F1B
analogous
#1B658F #1B2B8F #451B8F
triadic
#1B2B8F #8F1B2B #2B8F1B
tetradic
#1B2B8F #8F1B65 #8F7F1B #1B8F45
square
#1B2B8F #8F1B65 #8F7F1B #1B8F45
split-complementary
#1B2B8F #8F451B #658F1B
monochromatic
#080C28 #111C5C #1B2B8F #253AC2 #485CDC

Accessibility & contrast

On white

11.74
#1B2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B2B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B8F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B8F#FFFFFF#000000##FFFFFF
##1B2B8F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2b8f;
/* rgb */ color: rgb(27, 43, 143);
/* oklch */ color: oklch(35.3% 0.164 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d64b1',
    500: '#1b2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b8f;
$custom-light: #6d64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b8f",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 231.724,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35319,
    "c": 0.16414,
    "h": 268.6
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#1B2B8F
secondary
#BEAE48
accent
#D33DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1B2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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