#1A2F6C#1A2F6C

#1A2F6C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.110 H 266.1°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#1A2F6C
RGBrgb(26, 47, 108)
HSLhsl(225, 61%, 26%)
HSVhsv(225, 76%, 42%)
CMYKcmyk(75.9%, 56.5%, 0%, 57.6%)
CIE-LABlab(21.34, 15.10, -38.01)
CIE-LCHlch(21.34, 40.90, 291.67°)
OKLaboklab(32.74% -0.0074 -0.1094)
OKLCHoklch(32.74% 0.11 266.1)
XYZxyz(4.1483, 3.3349, 14.6095)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F6C #6C571A
analogous
#1A586C #1A2F6C #2E1A6C
triadic
#1A2F6C #6C1A2F #2F6C1A
tetradic
#1A2F6C #6C1A58 #6C571A #1A6C2E
square
#1A2F6C #6C1A58 #6C571A #1A6C2E
split-complementary
#1A2F6C #6C2E1A #586C1A
monochromatic
#060B19 #0E1A3B #1A2F6C #26449D #335ACE

Accessibility & contrast

On white

12.60
#1A2F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F6C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F6C#FFFFFF#000000##FFFFFF
##1A2F6C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2f6c;
/* rgb */ color: rgb(26, 47, 108);
/* oklch */ color: oklch(32.7% 0.110 266.1);
Tailwind
colors: {
  custom: {
    50: '#636797',
    500: '#1a2f6c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f6c;
$custom-light: #636797;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f6c",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 224.634,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32737,
    "c": 0.10967,
    "h": 266.1
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#1A2F6C
secondary
#A18841
accent
#BB43E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1A2F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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