#1B2F8F#1B2F8F

#1B2F8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.159 H 267.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2F8F
RGBrgb(27, 47, 143)
HSLhsl(230, 68%, 33%)
HSVhsv(230, 81%, 56%)
CMYKcmyk(81.1%, 67.1%, 0%, 43.9%)
CIE-LABlab(24.48, 29.21, -55.02)
CIE-LCHlch(24.48, 62.30, 297.96°)
OKLaboklab(36.04% -0.0061 -0.1593)
OKLCHoklch(36.04% 0.159 267.8)
XYZxyz(6.4247, 4.2485, 26.4627)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F8F #8F7B1B
analogous
#1B698F #1B2F8F #411B8F
triadic
#1B2F8F #8F1B2F #2F8F1B
tetradic
#1B2F8F #8F1B69 #8F7B1B #1B8F41
square
#1B2F8F #8F1B69 #8F7B1B #1B8F41
split-complementary
#1B2F8F #8F411B #698F1B
monochromatic
#080D28 #111E5C #1B2F8F #2540C2 #4862DC

Accessibility & contrast

On white

11.35
#1B2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B2F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F8F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F8F#FFFFFF#000000##FFFFFF
##1B2F8F1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b2f8f;
/* rgb */ color: rgb(27, 47, 143);
/* oklch */ color: oklch(36.0% 0.159 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d67b1',
    500: '#1b2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f8f;
$custom-light: #6d67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f8f",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 229.655,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36044,
    "c": 0.15942,
    "h": 267.8
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#1B2F8F
secondary
#BEAA48
accent
#CD3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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