#122B40#122B40

#122B40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.050 H 246.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#122B40
RGBrgb(18, 43, 64)
HSLhsl(207, 56%, 16%)
HSVhsv(207, 72%, 25%)
CMYKcmyk(71.9%, 32.8%, 0%, 74.9%)
CIE-LABlab(16.63, -1.74, -16.17)
CIE-LCHlch(16.63, 16.26, 263.85°)
OKLaboklab(28.03% -0.0201 -0.0456)
OKLCHoklch(28.03% 0.05 246.2)
XYZxyz(2.0384, 2.2263, 5.1718)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B40 #402712
analogous
#12403E #122B40 #121440
triadic
#122B40 #40122B #2B4012
tetradic
#122B40 #3E1240 #402712 #144012
square
#122B40 #3E1240 #402712 #144012
split-complementary
#122B40 #401214 #403E12
monochromatic
#071018 #071018 #122B40 #1F4B70 #2D6BA0

Accessibility & contrast

On white

14.53
#122B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B40
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B40#FFFFFF#000000##FFFFFF
##122B401.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#1C2740
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122b40;
/* rgb */ color: rgb(18, 43, 64);
/* oklch */ color: oklch(28.0% 0.050 246.2);
Tailwind
colors: {
  custom: {
    50: '#556475',
    500: '#122b40',
    950: '#000000',
  },
}
SCSS
$custom: #122b40;
$custom-light: #556475;
$custom-dark: #000000;
JSON
{
  "hex": "#122b40",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 64
  },
  "hsl": {
    "h": 207.391,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28031,
    "c": 0.04981,
    "h": 246.2
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#122B40
secondary
#795435
accent
#8D48DF
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #122B40

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

Preview Lab → · Contrast checker → · Palette generator →

#122B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva