#1B2E6E#1B2E6E

#1B2E6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.114 H 267.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1B2E6E
RGBrgb(27, 46, 110)
HSLhsl(226, 61%, 27%)
HSVhsv(226, 75%, 43%)
CMYKcmyk(75.5%, 58.2%, 0%, 56.9%)
CIE-LABlab(21.25, 16.79, -39.44)
CIE-LCHlch(21.25, 42.86, 293.06°)
OKLaboklab(32.74% -0.0054 -0.1136)
OKLCHoklch(32.74% 0.114 267.3)
XYZxyz(4.2425, 3.3124, 15.1646)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E6E #6E5B1B
analogous
#1B586E #1B2E6E #321B6E
triadic
#1B2E6E #6E1B2E #2E6E1B
tetradic
#1B2E6E #6E1B58 #6E5B1B #1B6E32
square
#1B2E6E #6E1B58 #6E5B1B #1B6E32
split-complementary
#1B2E6E #6E321B #586E1B
monochromatic
#060A19 #0F193D #1B2E6E #27439F #3659CE

Accessibility & contrast

On white

12.63
#1B2E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E6E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E6E#FFFFFF#000000##FFFFFF
##1B2E6E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2e6e;
/* rgb */ color: rgb(27, 46, 110);
/* oklch */ color: oklch(32.7% 0.114 267.3);
Tailwind
colors: {
  custom: {
    50: '#646698',
    500: '#1b2e6e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e6e;
$custom-light: #646698;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e6e",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 226.265,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32738,
    "c": 0.11374,
    "h": 267.3
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#1B2E6E
secondary
#A38D42
accent
#BF44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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