#1B2E70#1B2E70

#1B2E70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.117 H 267.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1B2E70
RGBrgb(27, 46, 112)
HSLhsl(227, 61%, 27%)
HSVhsv(227, 76%, 44%)
CMYKcmyk(75.9%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.42, 17.60, -40.46)
CIE-LCHlch(21.42, 44.12, 293.51°)
OKLaboklab(32.91% -0.0053 -0.1166)
OKLCHoklch(32.91% 0.117 267.4)
XYZxyz(4.3526, 3.3564, 15.7446)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E70 #705D1B
analogous
#1B5970 #1B2E70 #321B70
triadic
#1B2E70 #701B2E #2E701B
tetradic
#1B2E70 #701B59 #705D1B #1B7032
square
#1B2E70 #701B59 #705D1B #1B7032
split-complementary
#1B2E70 #70321B #59701B
monochromatic
#060A19 #0F1A3F #1B2E70 #2742A1 #3759CF

Accessibility & contrast

On white

12.56
#1B2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B2E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E70
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E70#FFFFFF#000000##FFFFFF
##1B2E701.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2e70;
/* rgb */ color: rgb(27, 46, 112);
/* oklch */ color: oklch(32.9% 0.117 267.4);
Tailwind
colors: {
  custom: {
    50: '#65669a',
    500: '#1b2e70',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e70;
$custom-light: #65669a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e70",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 226.588,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32914,
    "c": 0.11673,
    "h": 267.4
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#1B2E70
secondary
#A58F42
accent
#C044E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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