#1B2A60#1B2A60

#1B2A60 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.098 H 268.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#1B2A60
RGBrgb(27, 42, 96)
HSLhsl(227, 56%, 24%)
HSVhsv(227, 72%, 38%)
CMYKcmyk(71.9%, 56.3%, 0%, 62.4%)
CIE-LABlab(18.94, 13.98, -34.06)
CIE-LCHlch(18.94, 36.81, 292.32°)
OKLaboklab(30.64% -0.0027 -0.0978)
OKLCHoklch(30.64% 0.098 268.4)
XYZxyz(3.3906, 2.7331, 11.4129)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A60 #60511B
analogous
#1B4D60 #1B2A60 #2F1B60
triadic
#1B2A60 #601B2A #2A601B
tetradic
#1B2A60 #601B4D #60511B #1B602F
square
#1B2A60 #601B4D #60511B #1B602F
split-complementary
#1B2A60 #602F1B #4D601B
monochromatic
#070A18 #0E1530 #1B2A60 #283F90 #3654C0

Accessibility & contrast

On white

13.58
#1B2A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2A60
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A60#FFFFFF#000000##FFFFFF
##1B2A601.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073162
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2a60;
/* rgb */ color: rgb(27, 42, 96);
/* oklch */ color: oklch(30.6% 0.098 268.4);
Tailwind
colors: {
  custom: {
    50: '#61638e',
    500: '#1b2a60',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a60;
$custom-light: #61638e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a60",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 226.957,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3064,
    "c": 0.09787,
    "h": 268.4
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#1B2A60
secondary
#968341
accent
#BF48DF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1B2A60

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

Preview Lab → · Contrast checker → · Palette generator →

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