#1B2F6E#1B2F6E

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

Color values

HEX#1B2F6E
RGBrgb(27, 47, 110)
HSLhsl(226, 61%, 27%)
HSVhsv(226, 75%, 43%)
CMYKcmyk(75.5%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.55, 16.07, -38.96)
CIE-LCHlch(21.55, 42.15, 292.41°)
OKLaboklab(32.96% -0.0063 -0.1122)
OKLCHoklch(32.96% 0.112 266.8)
XYZxyz(4.2820, 3.3914, 15.1778)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F6E #6E5A1B
analogous
#1B596E #1B2F6E #311B6E
triadic
#1B2F6E #6E1B2F #2F6E1B
tetradic
#1B2F6E #6E1B59 #6E5A1B #1B6E31
square
#1B2F6E #6E1B59 #6E5A1B #1B6E31
split-complementary
#1B2F6E #6E311B #596E1B
monochromatic
#060A19 #0F1A3D #1B2F6E #27449F #365ACE

Accessibility & contrast

On white

12.51
#1B2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2F6E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F6E#FFFFFF#000000##FFFFFF
##1B2F6E1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2f6e;
/* rgb */ color: rgb(27, 47, 110);
/* oklch */ color: oklch(33.0% 0.112 266.8);
Tailwind
colors: {
  custom: {
    50: '#646798',
    500: '#1b2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f6e;
$custom-light: #646798;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f6e",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 225.542,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3296,
    "c": 0.11237,
    "h": 266.8
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#1B2F6E
secondary
#A38C42
accent
#BD44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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