#12345F#12345F

#12345F is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.6% C 0.086 H 255.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#12345F
RGBrgb(18, 52, 95)
HSLhsl(214, 68%, 22%)
HSVhsv(214, 81%, 37%)
CMYKcmyk(81.1%, 45.3%, 0%, 62.7%)
CIE-LABlab(21.62, 4.87, -29.12)
CIE-LCHlch(21.62, 29.52, 279.49°)
OKLaboklab(32.55% -0.021 -0.0833)
OKLCHoklch(32.55% 0.086 255.9)
XYZxyz(3.5422, 3.4104, 11.2958)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12345F #5F3D12
analogous
#125B5F #12345F #16125F
triadic
#12345F #5F1234 #345F12
tetradic
#12345F #5F125B #5F3D12 #125F16
square
#12345F #5F125B #5F3D12 #125F16
split-complementary
#12345F #5F1612 #5B5F12
monochromatic
#050E1A #08182C #12345F #1C5092 #256CC6

Accessibility & contrast

On white

12.48
#12345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#12345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12345F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12345F#FFFFFF#000000##FFFFFF
##12345F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3861
Deuteranopia (green-blind)
#11315E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12345f;
/* rgb */ color: rgb(18, 52, 95);
/* oklch */ color: oklch(32.6% 0.086 255.9);
Tailwind
colors: {
  custom: {
    50: '#5d6b8d',
    500: '#12345f',
    950: '#000000',
  },
}
SCSS
$custom: #12345f;
$custom-light: #5d6b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#12345f",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 213.506,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32553,
    "c": 0.08589,
    "h": 255.9
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#12345F
secondary
#976C36
accent
#9E3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #12345F

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

Preview Lab → · Contrast checker → · Palette generator →

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