#1B2F73#1B2F73

#1B2F73 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.120 H 267.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2F73
RGBrgb(27, 47, 115)
HSLhsl(226, 62%, 28%)
HSVhsv(226, 77%, 45%)
CMYKcmyk(76.5%, 59.1%, 0%, 54.9%)
CIE-LABlab(21.96, 18.10, -41.51)
CIE-LCHlch(21.96, 45.29, 293.56°)
OKLaboklab(33.4% -0.006 -0.1197)
OKLCHoklch(33.4% 0.12 267.1)
XYZxyz(4.5619, 3.5034, 16.6521)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F73 #735F1B
analogous
#1B5B73 #1B2F73 #331B73
triadic
#1B2F73 #731B2F #2F731B
tetradic
#1B2F73 #731B5B #735F1B #1B7333
square
#1B2F73 #731B5B #735F1B #1B7333
split-complementary
#1B2F73 #73331B #5B731B
monochromatic
#060A19 #0F1B41 #1B2F73 #2743A5 #385BD0

Accessibility & contrast

On white

12.35
#1B2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F73
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F73#FFFFFF#000000##FFFFFF
##1B2F731.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2f73;
/* rgb */ color: rgb(27, 47, 115);
/* oklch */ color: oklch(33.4% 0.120 267.1);
Tailwind
colors: {
  custom: {
    50: '#65679c',
    500: '#1b2f73',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f73;
$custom-light: #65679c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f73",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 226.364,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33396,
    "c": 0.11984,
    "h": 267.1
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#1B2F73
secondary
#A89142
accent
#C043E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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