#122948#122948

#122948 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.064 H 256.5°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#122948
RGBrgb(18, 41, 72)
HSLhsl(214, 60%, 18%)
HSVhsv(214, 75%, 28%)
CMYKcmyk(75%, 43.1%, 0%, 71.8%)
CIE-LABlab(16.42, 3.03, -22.01)
CIE-LCHlch(16.42, 22.22, 277.83°)
OKLaboklab(28.02% -0.015 -0.0626)
OKLCHoklch(28.02% 0.064 256.5)
XYZxyz(2.2117, 2.1821, 6.4343)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122948 #483112
analogous
#124448 #122948 #161248
triadic
#122948 #481229 #294812
tetradic
#122948 #481244 #483112 #124816
square
#122948 #481244 #483112 #124816
split-complementary
#122948 #481612 #444812
monochromatic
#060E18 #060E18 #122948 #1E4579 #2A61AA

Accessibility & contrast

On white

14.62
#122948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#122948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122948
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122948#FFFFFF#000000##FFFFFF
##1229481.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B49
Deuteranopia (green-blind)
#132647
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122948;
/* rgb */ color: rgb(18, 41, 72);
/* oklch */ color: oklch(28.0% 0.064 256.5);
Tailwind
colors: {
  custom: {
    50: '#57627b',
    500: '#122948',
    950: '#000000',
  },
}
SCSS
$custom: #122948;
$custom-light: #57627b;
$custom-dark: #000000;
JSON
{
  "hex": "#122948",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 214.444,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28018,
    "c": 0.06442,
    "h": 256.5
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#122948
secondary
#816135
accent
#A045E3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #122948

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

Preview Lab → · Contrast checker → · Palette generator →

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