#12273E#12273E

#12273E is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.8% C 0.051 H 252.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#12273E
RGBrgb(18, 39, 62)
HSLhsl(211, 55%, 16%)
HSVhsv(211, 71%, 24%)
CMYKcmyk(71%, 37.1%, 0%, 75.7%)
CIE-LABlab(15.10, 0.30, -17.18)
CIE-LCHlch(15.10, 17.19, 271.00°)
OKLaboklab(26.79% -0.0156 -0.0486)
OKLCHoklch(26.79% 0.051 252.2)
XYZxyz(1.8442, 1.9273, 4.8313)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12273E #3E2912
analogous
#123D3E #12273E #13123E
triadic
#12273E #3E1227 #273E12
tetradic
#12273E #3E123D #3E2912 #123E13
square
#12273E #3E123D #3E2912 #123E13
split-complementary
#12273E #3E1312 #3D3E12
monochromatic
#070F18 #070F18 #12273E #20456D #2E639D

Accessibility & contrast

On white

15.16
#12273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#12273E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12273E
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12273E#FFFFFF#000000##FFFFFF
##12273E1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283F
Deuteranopia (green-blind)
#17243E
Tritanopia (blue-blind)
#002C2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #12273e;
/* rgb */ color: rgb(18, 39, 62);
/* oklch */ color: oklch(26.8% 0.051 252.2);
Tailwind
colors: {
  custom: {
    50: '#556073',
    500: '#12273e',
    950: '#000000',
  },
}
SCSS
$custom: #12273e;
$custom-light: #556073;
$custom-dark: #000000;
JSON
{
  "hex": "#12273e",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 211.364,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26789,
    "c": 0.05102,
    "h": 252.2
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#12273E
secondary
#775735
accent
#9749DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #12273E

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

Preview Lab → · Contrast checker → · Palette generator →

#12273E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva