#12283F#12283F

#12283F is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.051 H 251.2°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#12283F
RGBrgb(18, 40, 63)
HSLhsl(211, 56%, 16%)
HSVhsv(211, 71%, 25%)
CMYKcmyk(71.4%, 36.5%, 0%, 75.3%)
CIE-LABlab(15.51, -0.01, -17.23)
CIE-LCHlch(15.51, 17.23, 269.96°)
OKLaboklab(27.13% -0.0166 -0.0487)
OKLCHoklch(27.13% 0.051 251.2)
XYZxyz(1.9051, 2.0049, 4.9882)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12283F #3F2912
analogous
#123E3F #12283F #12123F
triadic
#12283F #3F1228 #283F12
tetradic
#12283F #3F123E #3F2912 #123F12
square
#12283F #3F123E #3F2912 #123F12
split-complementary
#12283F #3F1212 #3E3F12
monochromatic
#070F18 #070F18 #12283F #20466F #2D649E

Accessibility & contrast

On white

14.99
#12283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#12283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12283F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12283F#FFFFFF#000000##FFFFFF
##12283F1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#18253F
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #12283f;
/* rgb */ color: rgb(18, 40, 63);
/* oklch */ color: oklch(27.1% 0.051 251.2);
Tailwind
colors: {
  custom: {
    50: '#556174',
    500: '#12283f',
    950: '#000000',
  },
}
SCSS
$custom: #12283f;
$custom-light: #556174;
$custom-dark: #000000;
JSON
{
  "hex": "#12283f",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 210.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27131,
    "c": 0.05144,
    "h": 251.2
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#12283F
secondary
#785735
accent
#9649DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #12283F

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

Preview Lab → · Contrast checker → · Palette generator →

#12283F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva