#1B2F62#1B2F62

#1B2F62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.094 H 265.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1B2F62
RGBrgb(27, 47, 98)
HSLhsl(223, 57%, 25%)
HSVhsv(223, 72%, 38%)
CMYKcmyk(72.4%, 52%, 0%, 61.6%)
CIE-LABlab(20.63, 11.17, -32.65)
CIE-LCHlch(20.63, 34.51, 288.88°)
OKLaboklab(31.97% -0.0076 -0.0936)
OKLCHoklch(31.97% 0.094 265.3)
XYZxyz(3.6723, 3.1475, 11.9669)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F62 #624E1B
analogous
#1B5362 #1B2F62 #2B1B62
triadic
#1B2F62 #621B2F #2F621B
tetradic
#1B2F62 #621B53 #624E1B #1B622B
square
#1B2F62 #621B53 #624E1B #1B622B
split-complementary
#1B2F62 #622B1B #53621B
monochromatic
#070C18 #0E1832 #1B2F62 #284692 #355DC2

Accessibility & contrast

On white

12.89
#1B2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F62
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F62#FFFFFF#000000##FFFFFF
##1B2F621.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133564
Deuteranopia (green-blind)
#022F61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2f62;
/* rgb */ color: rgb(27, 47, 98);
/* oklch */ color: oklch(32.0% 0.094 265.3);
Tailwind
colors: {
  custom: {
    50: '#61678f',
    500: '#1b2f62',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f62;
$custom-light: #61678f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f62",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 223.099,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31966,
    "c": 0.09394,
    "h": 265.3
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#1B2F62
secondary
#987F41
accent
#B548E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1B2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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