#1B276E#1B276E

#1B276E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.123 H 270.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1B276E
RGBrgb(27, 39, 110)
HSLhsl(231, 61%, 27%)
HSVhsv(231, 75%, 43%)
CMYKcmyk(75.5%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.26, 21.79, -42.68)
CIE-LCHlch(19.26, 47.92, 297.04°)
OKLaboklab(31.25% 0.0004 -0.1232)
OKLCHoklch(31.25% 0.123 270.2)
XYZxyz(3.9910, 2.8094, 15.0808)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B276E #6E621B
analogous
#1B516E #1B276E #391B6E
triadic
#1B276E #6E1B27 #276E1B
tetradic
#1B276E #6E1B51 #6E621B #1B6E39
square
#1B276E #6E1B51 #6E621B #1B6E39
split-complementary
#1B276E #6E391B #516E1B
monochromatic
#060919 #0F163D #1B276E #27389F #364CCE

Accessibility & contrast

On white

13.44
#1B276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B276E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B276E#FFFFFF#000000##FFFFFF
##1B276E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b276e;
/* rgb */ color: rgb(27, 39, 110);
/* oklch */ color: oklch(31.3% 0.123 270.2);
Tailwind
colors: {
  custom: {
    50: '#656198',
    500: '#1b276e',
    950: '#000000',
  },
}
SCSS
$custom: #1b276e;
$custom-light: #656198;
$custom-dark: #000000;
JSON
{
  "hex": "#1b276e",
  "rgb": {
    "r": 27,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 231.325,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.12322,
    "h": 270.2
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#1B276E
secondary
#A39542
accent
#CD44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B276E

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

Preview Lab → · Contrast checker → · Palette generator →

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