#1B2F94#1B2F94

#1B2F94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.166 H 267.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#1B2F94
RGBrgb(27, 47, 148)
HSLhsl(230, 69%, 34%)
HSVhsv(230, 82%, 58%)
CMYKcmyk(81.8%, 68.2%, 0%, 42%)
CIE-LABlab(24.96, 31.13, -57.31)
CIE-LCHlch(24.96, 65.22, 298.51°)
OKLaboklab(36.55% -0.0064 -0.166)
OKLCHoklch(36.55% 0.166 267.8)
XYZxyz(6.8119, 4.4034, 28.5021)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F94 #94801B
analogous
#1B6C94 #1B2F94 #441B94
triadic
#1B2F94 #941B2F #2F941B
tetradic
#1B2F94 #941B6C #94801B #1B9444
square
#1B2F94 #941B6C #94801B #1B9444
split-complementary
#1B2F94 #94441B #6C941B
monochromatic
#080E2C #121F60 #1B2F94 #243FC8 #4B63DE

Accessibility & contrast

On white

11.17
#1B2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F94
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F94#FFFFFF#000000##FFFFFF
##1B2F941.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b2f94;
/* rgb */ color: rgb(27, 47, 148);
/* oklch */ color: oklch(36.5% 0.166 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e67b4',
    500: '#1b2f94',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f94;
$custom-light: #6e67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f94",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 230.083,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36547,
    "c": 0.16611,
    "h": 267.8
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#1B2F94
secondary
#C0AD4B
accent
#CF3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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