#1A2F83#1A2F83

#1A2F83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.143 H 267.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#1A2F83
RGBrgb(26, 47, 131)
HSLhsl(228, 67%, 31%)
HSVhsv(228, 80%, 51%)
CMYKcmyk(80.2%, 64.1%, 0%, 48.6%)
CIE-LABlab(23.31, 24.41, -49.46)
CIE-LCHlch(23.31, 55.16, 296.27°)
OKLaboklab(34.83% -0.0066 -0.143)
OKLCHoklch(34.83% 0.143 267.3)
XYZxyz(5.5378, 3.8907, 21.9274)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F83 #836E1A
analogous
#1A6383 #1A2F83 #391A83
triadic
#1A2F83 #831A2F #2F831A
tetradic
#1A2F83 #831A63 #836E1A #1A8339
square
#1A2F83 #831A63 #836E1A #1A8339
split-complementary
#1A2F83 #83391A #63831A
monochromatic
#060A1D #101D50 #1A2F83 #2441B6 #3F5DD9

Accessibility & contrast

On white

11.81
#1A2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1A2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F83
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F83#FFFFFF#000000##FFFFFF
##1A2F831.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2f83;
/* rgb */ color: rgb(26, 47, 131);
/* oklch */ color: oklch(34.8% 0.143 267.3);
Tailwind
colors: {
  custom: {
    50: '#6967a8',
    500: '#1a2f83',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f83;
$custom-light: #6967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f83",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 228,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34825,
    "c": 0.14318,
    "h": 267.3
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#1A2F83
secondary
#B79F42
accent
#C73EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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