#1B2F6F#1B2F6F

#1B2F6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.114 H 266.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#1B2F6F
RGBrgb(27, 47, 111)
HSLhsl(226, 61%, 27%)
HSVhsv(226, 76%, 44%)
CMYKcmyk(75.7%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.63, 16.48, -39.48)
CIE-LCHlch(21.63, 42.78, 292.65°)
OKLaboklab(33.05% -0.0062 -0.1137)
OKLCHoklch(33.05% 0.114 266.9)
XYZxyz(4.3368, 3.4133, 15.4661)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F6F #6F5B1B
analogous
#1B596F #1B2F6F #311B6F
triadic
#1B2F6F #6F1B2F #2F6F1B
tetradic
#1B2F6F #6F1B59 #6F5B1B #1B6F31
square
#1B2F6F #6F1B59 #6F5B1B #1B6F31
split-complementary
#1B2F6F #6F311B #596F1B
monochromatic
#060A19 #0F1A3E #1B2F6F #2744A0 #365ACE

Accessibility & contrast

On white

12.48
#1B2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B2F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F6F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F6F#FFFFFF#000000##FFFFFF
##1B2F6F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2f6f;
/* rgb */ color: rgb(27, 47, 111);
/* oklch */ color: oklch(33.0% 0.114 266.9);
Tailwind
colors: {
  custom: {
    50: '#646799',
    500: '#1b2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f6f;
$custom-light: #646799;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f6f",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 225.714,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33046,
    "c": 0.11387,
    "h": 266.9
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#1B2F6F
secondary
#A48D42
accent
#BE44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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