#1A2F6E#1A2F6E

#1A2F6E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.113 H 266.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1A2F6E
RGBrgb(26, 47, 110)
HSLhsl(225, 62%, 27%)
HSVhsv(225, 76%, 43%)
CMYKcmyk(76.4%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.50, 15.92, -39.05)
CIE-LCHlch(21.50, 42.17, 292.18°)
OKLaboklab(32.91% -0.0073 -0.1124)
OKLCHoklch(32.91% 0.113 266.3)
XYZxyz(4.2560, 3.3780, 15.1765)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F6E #6E591A
analogous
#1A596E #1A2F6E #2F1A6E
triadic
#1A2F6E #6E1A2F #2F6E1A
tetradic
#1A2F6E #6E1A59 #6E591A #1A6E2F
square
#1A2F6E #6E1A59 #6E591A #1A6E2F
split-complementary
#1A2F6E #6E2F1A #596E1A
monochromatic
#060B19 #0E1A3D #1A2F6E #2644A0 #345ACF

Accessibility & contrast

On white

12.53
#1A2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2F6E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F6E#FFFFFF#000000##FFFFFF
##1A2F6E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2f6e;
/* rgb */ color: rgb(26, 47, 110);
/* oklch */ color: oklch(32.9% 0.113 266.3);
Tailwind
colors: {
  custom: {
    50: '#646798',
    500: '#1a2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f6e;
$custom-light: #646798;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f6e",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 225,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32909,
    "c": 0.11269,
    "h": 266.3
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#1A2F6E
secondary
#A38B41
accent
#BC43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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