#1B2A67#1B2A67

#1B2A67 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.109 H 268.8°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2A67
RGBrgb(27, 42, 103)
HSLhsl(228, 58%, 25%)
HSVhsv(228, 74%, 40%)
CMYKcmyk(73.8%, 59.2%, 0%, 59.6%)
CIE-LABlab(19.51, 16.83, -37.73)
CIE-LCHlch(19.51, 41.31, 294.03°)
OKLaboklab(31.24% -0.0022 -0.1086)
OKLCHoklch(31.24% 0.109 268.8)
XYZxyz(3.7273, 2.8678, 13.1865)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A67 #67581B
analogous
#1B5067 #1B2A67 #321B67
triadic
#1B2A67 #671B2A #2A671B
tetradic
#1B2A67 #671B50 #67581B #1B6732
square
#1B2A67 #671B50 #67581B #1B6732
split-complementary
#1B2A67 #67321B #50671B
monochromatic
#060A18 #0E1637 #1B2A67 #283E97 #3452C8

Accessibility & contrast

On white

13.35
#1B2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A67
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A67#FFFFFF#000000##FFFFFF
##1B2A671.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2a67;
/* rgb */ color: rgb(27, 42, 103);
/* oklch */ color: oklch(31.2% 0.109 268.8);
Tailwind
colors: {
  custom: {
    50: '#636393',
    500: '#1b2a67',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a67;
$custom-light: #636393;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a67",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 228.158,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.10867,
    "h": 268.8
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#1B2A67
secondary
#9C8A42
accent
#C346E2
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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