#1B306C#1B306C

#1B306C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.108 H 266.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1B306C
RGBrgb(27, 48, 108)
HSLhsl(224, 60%, 26%)
HSVhsv(224, 75%, 42%)
CMYKcmyk(75%, 55.6%, 0%, 57.6%)
CIE-LABlab(21.69, 14.53, -37.45)
CIE-LCHlch(21.69, 40.17, 291.21°)
OKLaboklab(33.01% -0.0074 -0.1077)
OKLCHoklch(33.01% 0.108 266.1)
XYZxyz(4.2148, 3.4292, 14.6242)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B306C #6C571B
analogous
#1B596C #1B306C #2F1B6C
triadic
#1B306C #6C1B30 #306C1B
tetradic
#1B306C #6C1B59 #6C571B #1B6C2F
square
#1B306C #6C1B59 #6C571B #1B6C2F
split-complementary
#1B306C #6C2F1B #596C1B
monochromatic
#060B18 #0F1A3B #1B306C #27469D #355CCC

Accessibility & contrast

On white

12.46
#1B306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B306C
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B306C#FFFFFF#000000##FFFFFF
##1B306C1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07386E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b306c;
/* rgb */ color: rgb(27, 48, 108);
/* oklch */ color: oklch(33.0% 0.108 266.1);
Tailwind
colors: {
  custom: {
    50: '#636797',
    500: '#1b306c',
    950: '#000000',
  },
}
SCSS
$custom: #1b306c;
$custom-light: #636797;
$custom-dark: #000000;
JSON
{
  "hex": "#1b306c",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 224.444,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.10796,
    "h": 266.1
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#1B306C
secondary
#A18842
accent
#BA45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B306C

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

Preview Lab → · Contrast checker → · Palette generator →

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