#1B246E#1B246E

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

Color values

HEX#1B246E
RGBrgb(27, 36, 110)
HSLhsl(233, 61%, 27%)
HSVhsv(233, 75%, 43%)
CMYKcmyk(75.5%, 67.3%, 0%, 56.9%)
CIE-LABlab(18.45, 23.90, -44.00)
CIE-LCHlch(18.45, 50.07, 298.50°)
OKLaboklab(30.66% 0.0027 -0.1271)
OKLCHoklch(30.66% 0.127 271.2)
XYZxyz(3.8964, 2.6202, 15.0492)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B246E #6E651B
analogous
#1B4E6E #1B246E #3C1B6E
triadic
#1B246E #6E1B24 #246E1B
tetradic
#1B246E #6E1B4E #6E651B #1B6E3C
square
#1B246E #6E1B4E #6E651B #1B6E3C
split-complementary
#1B246E #6E3C1B #4E6E1B
monochromatic
#060819 #0F143D #1B246E #27349F #3646CE

Accessibility & contrast

On white

13.78
#1B246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1B246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B246E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B246E#FFFFFF#000000##FFFFFF
##1B246E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b246e;
/* rgb */ color: rgb(27, 36, 110);
/* oklch */ color: oklch(30.7% 0.127 271.2);
Tailwind
colors: {
  custom: {
    50: '#655e98',
    500: '#1b246e',
    950: '#000000',
  },
}
SCSS
$custom: #1b246e;
$custom-light: #655e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1b246e",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 233.494,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30657,
    "c": 0.12717,
    "h": 271.2
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#1B246E
secondary
#A39842
accent
#D244E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1B246E

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

Preview Lab → · Contrast checker → · Palette generator →

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