#1A276B#1A276B

#1A276B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.119 H 269.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#1A276B
RGBrgb(26, 39, 107)
HSLhsl(230, 61%, 26%)
HSVhsv(230, 76%, 42%)
CMYKcmyk(75.7%, 63.6%, 0%, 58%)
CIE-LABlab(18.94, 20.45, -41.27)
CIE-LCHlch(18.94, 46.06, 296.36°)
OKLaboklab(30.91% -0.0006 -0.1191)
OKLCHoklch(30.91% 0.119 269.7)
XYZxyz(3.8045, 2.7318, 14.2339)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A276B #6B5E1A
analogous
#1A4F6B #1A276B #351A6B
triadic
#1A276B #6B1A27 #276B1A
tetradic
#1A276B #6B1A4F #6B5E1A #1A6B35
square
#1A276B #6B1A4F #6B5E1A #1A6B35
split-complementary
#1A276B #6B351A #4F6B1A
monochromatic
#060919 #0E153A #1A276B #26399C #324BCD

Accessibility & contrast

On white

13.58
#1A276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A276B
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A276B#FFFFFF#000000##FFFFFF
##1A276B1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a276b;
/* rgb */ color: rgb(26, 39, 107);
/* oklch */ color: oklch(30.9% 0.119 269.7);
Tailwind
colors: {
  custom: {
    50: '#636096',
    500: '#1a276b',
    950: '#000000',
  },
}
SCSS
$custom: #1a276b;
$custom-light: #636096;
$custom-dark: #000000;
JSON
{
  "hex": "#1a276b",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 230.37,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30911,
    "c": 0.11911,
    "h": 269.7
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#1A276B
secondary
#A09140
accent
#CA44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1A276B

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

Preview Lab → · Contrast checker → · Palette generator →

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