#1B306F#1B306F

#1B306F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.113 H 266.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1B306F
RGBrgb(27, 48, 111)
HSLhsl(225, 61%, 27%)
HSVhsv(225, 76%, 44%)
CMYKcmyk(75.7%, 56.8%, 0%, 56.5%)
CIE-LABlab(21.92, 15.76, -39.00)
CIE-LCHlch(21.92, 42.06, 292.00°)
OKLaboklab(33.27% -0.0071 -0.1123)
OKLCHoklch(33.27% 0.113 266.4)
XYZxyz(4.3772, 3.4942, 15.4796)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B306F #6F5A1B
analogous
#1B5A6F #1B306F #301B6F
triadic
#1B306F #6F1B30 #306F1B
tetradic
#1B306F #6F1B5A #6F5A1B #1B6F30
square
#1B306F #6F1B5A #6F5A1B #1B6F30
split-complementary
#1B306F #6F301B #5A6F1B
monochromatic
#060B19 #0F1B3E #1B306F #2745A0 #365CCE

Accessibility & contrast

On white

12.36
#1B306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B306F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B306F#FFFFFF#000000##FFFFFF
##1B306F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b306f;
/* rgb */ color: rgb(27, 48, 111);
/* oklch */ color: oklch(33.3% 0.113 266.4);
Tailwind
colors: {
  custom: {
    50: '#646799',
    500: '#1b306f',
    950: '#000000',
  },
}
SCSS
$custom: #1b306f;
$custom-light: #646799;
$custom-dark: #000000;
JSON
{
  "hex": "#1b306f",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 225,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33268,
    "c": 0.11251,
    "h": 266.4
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#1B306F
secondary
#A48B42
accent
#BC44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B306F

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

Preview Lab → · Contrast checker → · Palette generator →

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