#1B246F#1B246F

#1B246F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.129 H 271.2°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1B246F
RGBrgb(27, 36, 111)
HSLhsl(234, 61%, 27%)
HSVhsv(234, 76%, 44%)
CMYKcmyk(75.7%, 67.6%, 0%, 56.5%)
CIE-LABlab(18.55, 24.29, -44.49)
CIE-LCHlch(18.55, 50.69, 298.63°)
OKLaboklab(30.76% 0.0027 -0.1286)
OKLCHoklch(30.76% 0.129 271.2)
XYZxyz(3.9511, 2.6421, 15.3376)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B246F #6F661B
analogous
#1B4E6F #1B246F #3C1B6F
triadic
#1B246F #6F1B24 #246F1B
tetradic
#1B246F #6F1B4E #6F661B #1B6F3C
square
#1B246F #6F1B4E #6F661B #1B6F3C
split-complementary
#1B246F #6F3C1B #4E6F1B
monochromatic
#060819 #0F143E #1B246F #2734A0 #3647CE

Accessibility & contrast

On white

13.74
#1B246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B246F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B246F#FFFFFF#000000##FFFFFF
##1B246F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b246f;
/* rgb */ color: rgb(27, 36, 111);
/* oklch */ color: oklch(30.8% 0.129 271.2);
Tailwind
colors: {
  custom: {
    50: '#655e99',
    500: '#1b246f',
    950: '#000000',
  },
}
SCSS
$custom: #1b246f;
$custom-light: #655e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b246f",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 233.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30757,
    "c": 0.12861,
    "h": 271.2
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#1B246F
secondary
#A49942
accent
#D344E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1B246F

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

Preview Lab → · Contrast checker → · Palette generator →

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