#1A246B#1A246B

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

Color values

HEX#1A246B
RGBrgb(26, 36, 107)
HSLhsl(233, 61%, 26%)
HSVhsv(233, 76%, 42%)
CMYKcmyk(75.7%, 66.4%, 0%, 58%)
CIE-LABlab(18.11, 22.58, -42.62)
CIE-LCHlch(18.11, 48.23, 297.92°)
OKLaboklab(30.3% 0.0018 -0.1231)
OKLCHoklch(30.3% 0.123 270.8)
XYZxyz(3.7098, 2.5425, 14.2023)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A246B #6B611A
analogous
#1A4C6B #1A246B #381A6B
triadic
#1A246B #6B1A24 #246B1A
tetradic
#1A246B #6B1A4C #6B611A #1A6B38
square
#1A246B #6B1A4C #6B611A #1A6B38
split-complementary
#1A246B #6B381A #4C6B1A
monochromatic
#060819 #0E133A #1A246B #26359C #3245CD

Accessibility & contrast

On white

13.92
#1A246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A246B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A246B#FFFFFF#000000##FFFFFF
##1A246B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a246b;
/* rgb */ color: rgb(26, 36, 107);
/* oklch */ color: oklch(30.3% 0.123 270.8);
Tailwind
colors: {
  custom: {
    50: '#645e96',
    500: '#1a246b',
    950: '#000000',
  },
}
SCSS
$custom: #1a246b;
$custom-light: #645e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1a246b",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 232.593,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30301,
    "c": 0.12311,
    "h": 270.8
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#1A246B
secondary
#A09440
accent
#D044E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A246B

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

Preview Lab → · Contrast checker → · Palette generator →

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