#12313F#12313F

#12313F is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.7% C 0.044 H 230.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#12313F
RGBrgb(18, 49, 63)
HSLhsl(199, 56%, 16%)
HSVhsv(199, 71%, 25%)
CMYKcmyk(71.4%, 22.2%, 0%, 75.3%)
CIE-LABlab(18.73, -6.25, -12.22)
CIE-LCHlch(18.73, 13.73, 242.91°)
OKLaboklab(29.68% -0.0283 -0.0342)
OKLCHoklch(29.68% 0.044 230.3)
XYZxyz(2.2446, 2.6839, 5.1014)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12313F #3F2012
analogous
#123F36 #12313F #121A3F
triadic
#12313F #3F1231 #313F12
tetradic
#12313F #36123F #3F2012 #1A3F12
square
#12313F #36123F #3F2012 #1A3F12
split-complementary
#12313F #3F121A #3F3612
monochromatic
#071318 #071318 #12313F #20566F #2D7B9E

Accessibility & contrast

On white

13.66
#12313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#12313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12313F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12313F#FFFFFF#000000##FFFFFF
##12313F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3040
Deuteranopia (green-blind)
#242C3F
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12313f;
/* rgb */ color: rgb(18, 49, 63);
/* oklch */ color: oklch(29.7% 0.044 230.3);
Tailwind
colors: {
  custom: {
    50: '#566974',
    500: '#12313f',
    950: '#000000',
  },
}
SCSS
$custom: #12313f;
$custom-light: #566974;
$custom-dark: #000000;
JSON
{
  "hex": "#12313f",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 198.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29677,
    "c": 0.04438,
    "h": 230.3
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#12313F
secondary
#784A35
accent
#7849DF
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #12313F

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

Preview Lab → · Contrast checker → · Palette generator →

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