#122945#122945

#122945 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.8% C 0.060 H 254.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#122945
RGBrgb(18, 41, 69)
HSLhsl(213, 59%, 17%)
HSVhsv(213, 74%, 27%)
CMYKcmyk(73.9%, 40.6%, 0%, 72.9%)
CIE-LABlab(16.23, 1.76, -20.26)
CIE-LCHlch(16.23, 20.33, 274.97°)
OKLaboklab(27.81% -0.0159 -0.0575)
OKLCHoklch(27.81% 0.06 254.6)
XYZxyz(2.1162, 2.1439, 5.9314)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122945 #452E12
analogous
#124345 #122945 #141245
triadic
#122945 #451229 #294512
tetradic
#122945 #451243 #452E12 #124514
square
#122945 #451243 #452E12 #124514
split-complementary
#122945 #451412 #434512
monochromatic
#060E18 #060E18 #122945 #1F4676 #2B63A6

Accessibility & contrast

On white

14.70
#122945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122945
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122945#FFFFFF#000000##FFFFFF
##1229451.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B46
Deuteranopia (green-blind)
#152644
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122945;
/* rgb */ color: rgb(18, 41, 69);
/* oklch */ color: oklch(27.8% 0.060 254.6);
Tailwind
colors: {
  custom: {
    50: '#566279',
    500: '#122945',
    950: '#000000',
  },
}
SCSS
$custom: #122945;
$custom-light: #566279;
$custom-dark: #000000;
JSON
{
  "hex": "#122945",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 212.941,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27807,
    "c": 0.05966,
    "h": 254.6
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#122945
secondary
#7E5D35
accent
#9C46E2
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #122945

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

Preview Lab → · Contrast checker → · Palette generator →

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