#123A6A#123A6A

#123A6A is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.9% C 0.095 H 255.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#123A6A
RGBrgb(18, 58, 106)
HSLhsl(213, 71%, 24%)
HSVhsv(213, 83%, 42%)
CMYKcmyk(83%, 45.3%, 0%, 58.4%)
CIE-LABlab(24.31, 5.30, -31.96)
CIE-LCHlch(24.31, 32.40, 279.41°)
OKLaboklab(34.88% -0.0241 -0.0915)
OKLCHoklch(34.88% 0.095 255.2)
XYZxyz(4.3631, 4.1948, 14.2126)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A6A #6A4212
analogous
#12666A #123A6A #16126A
triadic
#123A6A #6A123A #3A6A12
tetradic
#123A6A #6A1266 #6A4212 #126A16
square
#123A6A #6A1266 #6A4212 #126A16
split-complementary
#123A6A #6A1612 #666A12
monochromatic
#040E1A #091D36 #123A6A #1B579E #2473D3

Accessibility & contrast

On white

11.42
#123A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#123A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A6A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A6A#FFFFFF#000000##FFFFFF
##123A6A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#113669
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123a6a;
/* rgb */ color: rgb(18, 58, 106);
/* oklch */ color: oklch(34.9% 0.095 255.2);
Tailwind
colors: {
  custom: {
    50: '#5f6f95',
    500: '#123a6a',
    950: '#000000',
  },
}
SCSS
$custom: #123a6a;
$custom-light: #5f6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#123a6a",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 106
  },
  "hsl": {
    "h": 212.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.09466,
    "h": 255.2
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#123A6A
secondary
#A27136
accent
#9C3AEE
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #123A6A

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

Preview Lab → · Contrast checker → · Palette generator →

#123A6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva