#1A306F#1A306F

#1A306F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.113 H 265.9°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1A306F
RGBrgb(26, 48, 111)
HSLhsl(224, 62%, 27%)
HSVhsv(224, 77%, 44%)
CMYKcmyk(76.6%, 56.8%, 0%, 56.5%)
CIE-LABlab(21.87, 15.61, -39.08)
CIE-LCHlch(21.87, 42.08, 291.78°)
OKLaboklab(33.22% -0.0081 -0.1125)
OKLCHoklch(33.22% 0.113 265.9)
XYZxyz(4.3512, 3.4808, 15.4784)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A306F #6F591A
analogous
#1A5B6F #1A306F #2F1A6F
triadic
#1A306F #6F1A30 #306F1A
tetradic
#1A306F #6F1A5B #6F591A #1A6F2F
square
#1A306F #6F1A5B #6F591A #1A6F2F
split-complementary
#1A306F #6F2F1A #5B6F1A
monochromatic
#060B19 #0E1B3D #1A306F #2645A1 #345CCF

Accessibility & contrast

On white

12.38
#1A306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A306F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A306F#FFFFFF#000000##FFFFFF
##1A306F1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a306f;
/* rgb */ color: rgb(26, 48, 111);
/* oklch */ color: oklch(33.2% 0.113 265.9);
Tailwind
colors: {
  custom: {
    50: '#646799',
    500: '#1a306f',
    950: '#000000',
  },
}
SCSS
$custom: #1a306f;
$custom-light: #646799;
$custom-dark: #000000;
JSON
{
  "hex": "#1a306f",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 224.471,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33218,
    "c": 0.11283,
    "h": 265.9
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#1A306F
secondary
#A48A41
accent
#BB43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A306F

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

Preview Lab → · Contrast checker → · Palette generator →

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