#1B276A#1B276A

#1B276A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.117 H 270.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1B276A
RGBrgb(27, 39, 106)
HSLhsl(231, 59%, 26%)
HSVhsv(231, 75%, 42%)
CMYKcmyk(74.5%, 63.2%, 0%, 58.4%)
CIE-LABlab(18.90, 20.19, -40.67)
CIE-LCHlch(18.90, 45.41, 296.40°)
OKLaboklab(30.88% 0.0005 -0.1173)
OKLCHoklch(30.88% 0.117 270.2)
XYZxyz(3.7781, 2.7243, 13.9596)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B276A #6A5E1B
analogous
#1B4E6A #1B276A #361B6A
triadic
#1B276A #6A1B27 #276A1B
tetradic
#1B276A #6A1B4E #6A5E1B #1B6A36
square
#1B276A #6A1B4E #6A5E1B #1B6A36
split-complementary
#1B276A #6A361B #4E6A1B
monochromatic
#060918 #0F1539 #1B276A #27399B #344BCB

Accessibility & contrast

On white

13.59
#1B276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B276A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B276A#FFFFFF#000000##FFFFFF
##1B276A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b276a;
/* rgb */ color: rgb(27, 39, 106);
/* oklch */ color: oklch(30.9% 0.117 270.2);
Tailwind
colors: {
  custom: {
    50: '#646095',
    500: '#1b276a',
    950: '#000000',
  },
}
SCSS
$custom: #1b276a;
$custom-light: #646095;
$custom-dark: #000000;
JSON
{
  "hex": "#1b276a",
  "rgb": {
    "r": 27,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 230.886,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.11732,
    "h": 270.2
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#1B276A
secondary
#9F9142
accent
#CB45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B276A

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

Preview Lab → · Contrast checker → · Palette generator →

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