#1B2D6E#1B2D6E

#1B2D6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.115 H 267.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#1B2D6E
RGBrgb(27, 45, 110)
HSLhsl(227, 61%, 27%)
HSVhsv(227, 75%, 43%)
CMYKcmyk(75.5%, 59.1%, 0%, 56.9%)
CIE-LABlab(20.96, 17.51, -39.91)
CIE-LCHlch(20.96, 43.58, 293.68°)
OKLaboklab(32.52% -0.0046 -0.115)
OKLCHoklch(32.52% 0.115 267.7)
XYZxyz(4.2039, 3.2351, 15.1517)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D6E #6E5C1B
analogous
#1B576E #1B2D6E #331B6E
triadic
#1B2D6E #6E1B2D #2D6E1B
tetradic
#1B2D6E #6E1B57 #6E5C1B #1B6E33
square
#1B2D6E #6E1B57 #6E5C1B #1B6E33
split-complementary
#1B2D6E #6E331B #576E1B
monochromatic
#060A19 #0F193D #1B2D6E #27419F #3657CE

Accessibility & contrast

On white

12.75
#1B2D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D6E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D6E#FFFFFF#000000##FFFFFF
##1B2D6E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2d6e;
/* rgb */ color: rgb(27, 45, 110);
/* oklch */ color: oklch(32.5% 0.115 267.7);
Tailwind
colors: {
  custom: {
    50: '#646598',
    500: '#1b2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d6e;
$custom-light: #646598;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d6e",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 226.988,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.11511,
    "h": 267.7
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#1B2D6E
secondary
#A38E42
accent
#C144E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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