#1B246A#1B246A

#1B246A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.121 H 271.4°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#1B246A
RGBrgb(27, 36, 106)
HSLhsl(233, 59%, 26%)
HSVhsv(233, 75%, 42%)
CMYKcmyk(74.5%, 66%, 0%, 58.4%)
CIE-LABlab(18.08, 22.32, -42.02)
CIE-LCHlch(18.08, 47.58, 297.98°)
OKLaboklab(30.26% 0.0029 -0.1213)
OKLCHoklch(30.26% 0.121 271.4)
XYZxyz(3.6835, 2.5350, 13.9281)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B246A #6A611B
analogous
#1B4B6A #1B246A #391B6A
triadic
#1B246A #6A1B24 #246A1B
tetradic
#1B246A #6A1B4B #6A611B #1B6A39
square
#1B246A #6A1B4B #6A611B #1B6A39
split-complementary
#1B246A #6A391B #4B6A1B
monochromatic
#060818 #0F1339 #1B246A #27359B #3445CB

Accessibility & contrast

On white

13.93
#1B246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1B246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B246A
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B246A#FFFFFF#000000##FFFFFF
##1B246A1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b246a;
/* rgb */ color: rgb(27, 36, 106);
/* oklch */ color: oklch(30.3% 0.121 271.4);
Tailwind
colors: {
  custom: {
    50: '#645e95',
    500: '#1b246a',
    950: '#000000',
  },
}
SCSS
$custom: #1b246a;
$custom-light: #645e95;
$custom-dark: #000000;
JSON
{
  "hex": "#1b246a",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 233.165,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30263,
    "c": 0.12136,
    "h": 271.4
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#1B246A
secondary
#9F9442
accent
#D145E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1B246A

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

Preview Lab → · Contrast checker → · Palette generator →

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