#122643#122643

#122643 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.060 H 257.8°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#122643
RGBrgb(18, 38, 67)
HSLhsl(216, 58%, 17%)
HSVhsv(216, 73%, 26%)
CMYKcmyk(73.1%, 43.3%, 0%, 73.7%)
CIE-LABlab(15.06, 3.12, -20.72)
CIE-LCHlch(15.06, 20.95, 278.56°)
OKLaboklab(26.86% -0.0128 -0.0589)
OKLCHoklch(26.86% 0.06 257.8)
XYZxyz(1.9553, 1.9199, 5.5766)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122643 #432F12
analogous
#123F43 #122643 #171243
triadic
#122643 #431226 #264312
tetradic
#122643 #43123F #432F12 #124317
square
#122643 #43123F #432F12 #124317
split-complementary
#122643 #431712 #3F4312
monochromatic
#060E18 #060E18 #122643 #1F4173 #2C5DA3

Accessibility & contrast

On white

15.17
#122643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#122643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122643
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122643#FFFFFF#000000##FFFFFF
##1226431.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192844
Deuteranopia (green-blind)
#122442
Tritanopia (blue-blind)
#002D31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122643;
/* rgb */ color: rgb(18, 38, 67);
/* oklch */ color: oklch(26.9% 0.060 257.8);
Tailwind
colors: {
  custom: {
    50: '#565f77',
    500: '#122643',
    950: '#000000',
  },
}
SCSS
$custom: #122643;
$custom-light: #565f77;
$custom-dark: #000000;
JSON
{
  "hex": "#122643",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 67
  },
  "hsl": {
    "h": 215.51,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26859,
    "c": 0.06028,
    "h": 257.8
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#122643
secondary
#7C5F35
accent
#A247E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #122643

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

Preview Lab → · Contrast checker → · Palette generator →

#122643 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva