#1B306A#1B306A

#1B306A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.105 H 265.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1B306A
RGBrgb(27, 48, 106)
HSLhsl(224, 59%, 26%)
HSVhsv(224, 75%, 42%)
CMYKcmyk(74.5%, 54.7%, 0%, 58.4%)
CIE-LABlab(21.53, 13.72, -36.40)
CIE-LCHlch(21.53, 38.90, 290.65°)
OKLaboklab(32.85% -0.0076 -0.1046)
OKLCHoklch(32.85% 0.105 265.8)
XYZxyz(4.1096, 3.3871, 14.0701)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B306A #6A551B
analogous
#1B576A #1B306A #2D1B6A
triadic
#1B306A #6A1B30 #306A1B
tetradic
#1B306A #6A1B57 #6A551B #1B6A2D
square
#1B306A #6A1B57 #6A551B #1B6A2D
split-complementary
#1B306A #6A2D1B #576A1B
monochromatic
#060B18 #0F1A39 #1B306A #27469B #345CCB

Accessibility & contrast

On white

12.52
#1B306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B306A
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B306A#FFFFFF#000000##FFFFFF
##1B306A1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B376C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b306a;
/* rgb */ color: rgb(27, 48, 106);
/* oklch */ color: oklch(32.8% 0.105 265.8);
Tailwind
colors: {
  custom: {
    50: '#636795',
    500: '#1b306a',
    950: '#000000',
  },
}
SCSS
$custom: #1b306a;
$custom-light: #636795;
$custom-dark: #000000;
JSON
{
  "hex": "#1b306a",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 224.051,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32848,
    "c": 0.10492,
    "h": 265.8
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#1B306A
secondary
#9F8642
accent
#B945E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B306A

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

Preview Lab → · Contrast checker → · Palette generator →

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