#122844#122844

#122844 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.059 H 255.4°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#122844
RGBrgb(18, 40, 68)
HSLhsl(214, 58%, 17%)
HSVhsv(214, 74%, 27%)
CMYKcmyk(73.5%, 41.2%, 0%, 73.3%)
CIE-LABlab(15.82, 2.07, -20.21)
CIE-LCHlch(15.82, 20.32, 275.85°)
OKLaboklab(27.47% -0.015 -0.0574)
OKLCHoklch(27.47% 0.059 255.4)
XYZxyz(2.0513, 2.0633, 5.7579)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122844 #442E12
analogous
#124144 #122844 #151244
triadic
#122844 #441228 #284412
tetradic
#122844 #441241 #442E12 #124415
square
#122844 #441241 #442E12 #124415
split-complementary
#122844 #441512 #414412
monochromatic
#060E18 #060E18 #122844 #1F4474 #2C61A5

Accessibility & contrast

On white

14.86
#122844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122844
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122844#FFFFFF#000000##FFFFFF
##1228441.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A45
Deuteranopia (green-blind)
#152543
Tritanopia (blue-blind)
#002E32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122844;
/* rgb */ color: rgb(18, 40, 68);
/* oklch */ color: oklch(27.5% 0.059 255.4);
Tailwind
colors: {
  custom: {
    50: '#566178',
    500: '#122844',
    950: '#000000',
  },
}
SCSS
$custom: #122844;
$custom-light: #566178;
$custom-dark: #000000;
JSON
{
  "hex": "#122844",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 68
  },
  "hsl": {
    "h": 213.6,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27468,
    "c": 0.05932,
    "h": 255.4
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#122844
secondary
#7D5D35
accent
#9D46E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030509
muted
#78797B

Preview Lab

Preview with #122844

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

Preview Lab → · Contrast checker → · Palette generator →

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