#1A306C#1A306C

#1A306C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.108 H 265.6°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#1A306C
RGBrgb(26, 48, 108)
HSLhsl(224, 61%, 26%)
HSVhsv(224, 76%, 42%)
CMYKcmyk(75.9%, 55.6%, 0%, 57.6%)
CIE-LABlab(21.64, 14.38, -37.53)
CIE-LCHlch(21.64, 40.19, 290.97°)
OKLaboklab(32.96% -0.0083 -0.108)
OKLCHoklch(32.96% 0.108 265.6)
XYZxyz(4.1888, 3.4158, 14.6230)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A306C #6C561A
analogous
#1A596C #1A306C #2D1A6C
triadic
#1A306C #6C1A30 #306C1A
tetradic
#1A306C #6C1A59 #6C561A #1A6C2D
square
#1A306C #6C1A59 #6C561A #1A6C2D
split-complementary
#1A306C #6C2D1A #596C1A
monochromatic
#060B19 #0E1A3B #1A306C #26469D #335CCE

Accessibility & contrast

On white

12.48
#1A306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A306C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A306C#FFFFFF#000000##FFFFFF
##1A306C1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a306c;
/* rgb */ color: rgb(26, 48, 108);
/* oklch */ color: oklch(33.0% 0.108 265.6);
Tailwind
colors: {
  custom: {
    50: '#636797',
    500: '#1a306c',
    950: '#000000',
  },
}
SCSS
$custom: #1a306c;
$custom-light: #636797;
$custom-dark: #000000;
JSON
{
  "hex": "#1a306c",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 223.902,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32964,
    "c": 0.10829,
    "h": 265.6
  },
  "luminance": 0.03416
}

Semantic roles & 50–950 ramp

primary
#1A306C
secondary
#A18741
accent
#B943E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1A306C

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

Preview Lab → · Contrast checker → · Palette generator →

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