#123D6A#123D6A

#123D6A is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.6% C 0.091 H 252.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#123D6A
RGBrgb(18, 61, 106)
HSLhsl(211, 71%, 24%)
HSVhsv(211, 83%, 42%)
CMYKcmyk(83%, 42.5%, 0%, 58.4%)
CIE-LABlab(25.28, 3.21, -30.41)
CIE-LCHlch(25.28, 30.57, 276.02°)
OKLaboklab(35.64% -0.027 -0.0869)
OKLCHoklch(35.64% 0.091 252.8)
XYZxyz(4.5187, 4.5062, 14.2645)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D6A #6A3F12
analogous
#12696A #123D6A #13126A
triadic
#123D6A #6A123D #3D6A12
tetradic
#123D6A #6A1269 #6A3F12 #126A13
square
#123D6A #6A1269 #6A3F12 #126A13
split-complementary
#123D6A #6A1312 #696A12
monochromatic
#040F1A #091F36 #123D6A #1B5B9E #2479D3

Accessibility & contrast

On white

11.04
#123D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#123D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D6A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D6A#FFFFFF#000000##FFFFFF
##123D6A1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#193869
Tritanopia (blue-blind)
#00484E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123d6a;
/* rgb */ color: rgb(18, 61, 106);
/* oklch */ color: oklch(35.6% 0.091 252.8);
Tailwind
colors: {
  custom: {
    50: '#5f7295',
    500: '#123d6a',
    950: '#000000',
  },
}
SCSS
$custom: #123d6a;
$custom-light: #5f7295;
$custom-dark: #000000;
JSON
{
  "hex": "#123d6a",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 106
  },
  "hsl": {
    "h": 210.682,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35635,
    "c": 0.09098,
    "h": 252.8
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#123D6A
secondary
#A26D36
accent
#963AEE
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #123D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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