#1B368F#1B368F

#1B368F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.151 H 266.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#1B368F
RGBrgb(27, 54, 143)
HSLhsl(226, 68%, 33%)
HSVhsv(226, 81%, 56%)
CMYKcmyk(81.1%, 62.2%, 0%, 43.9%)
CIE-LABlab(26.31, 24.44, -52.02)
CIE-LCHlch(26.31, 57.47, 295.17°)
OKLaboklab(37.4% -0.0103 -0.1504)
OKLCHoklch(37.4% 0.151 266.1)
XYZxyz(6.7273, 4.8537, 26.5636)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B368F #8F741B
analogous
#1B708F #1B368F #3A1B8F
triadic
#1B368F #8F1B36 #368F1B
tetradic
#1B368F #8F1B70 #8F741B #1B8F3A
square
#1B368F #8F1B70 #8F741B #1B8F3A
split-complementary
#1B368F #8F3A1B #708F1B
monochromatic
#080F28 #11235C #1B368F #2549C2 #486BDC

Accessibility & contrast

On white

10.65
#1B368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B368F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B368F#FFFFFF#000000##FFFFFF
##1B368F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b368f;
/* rgb */ color: rgb(27, 54, 143);
/* oklch */ color: oklch(37.4% 0.151 266.1);
Tailwind
colors: {
  custom: {
    50: '#6c6cb1',
    500: '#1b368f',
    950: '#000000',
  },
}
SCSS
$custom: #1b368f;
$custom-light: #6c6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b368f",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 226.034,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37401,
    "c": 0.15076,
    "h": 266.1
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#1B368F
secondary
#BEA348
accent
#C33DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B368F

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

Preview Lab → · Contrast checker → · Palette generator →

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