#122843#122843

#122843 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.058 H 254.7°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#122843
RGBrgb(18, 40, 67)
HSLhsl(213, 58%, 17%)
HSVhsv(213, 73%, 26%)
CMYKcmyk(73.1%, 40.3%, 0%, 73.7%)
CIE-LABlab(15.75, 1.65, -19.62)
CIE-LCHlch(15.75, 19.69, 274.81°)
OKLaboklab(27.4% -0.0153 -0.0557)
OKLCHoklch(27.4% 0.058 254.7)
XYZxyz(2.0210, 2.0512, 5.5985)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122843 #432D12
analogous
#124143 #122843 #151243
triadic
#122843 #431228 #284312
tetradic
#122843 #431241 #432D12 #124315
square
#122843 #431241 #432D12 #124315
split-complementary
#122843 #431512 #414312
monochromatic
#060E18 #060E18 #122843 #1F4573 #2C62A3

Accessibility & contrast

On white

14.89
#122843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122843
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122843#FFFFFF#000000##FFFFFF
##1228431.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122843;
/* rgb */ color: rgb(18, 40, 67);
/* oklch */ color: oklch(27.4% 0.058 254.7);
Tailwind
colors: {
  custom: {
    50: '#566177',
    500: '#122843',
    950: '#000000',
  },
}
SCSS
$custom: #122843;
$custom-light: #566177;
$custom-dark: #000000;
JSON
{
  "hex": "#122843",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 67
  },
  "hsl": {
    "h": 213.061,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27399,
    "c": 0.05773,
    "h": 254.7
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#122843
secondary
#7C5C35
accent
#9C47E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #122843

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

Preview Lab → · Contrast checker → · Palette generator →

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