#123D6E#123D6E

#123D6E is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.9% C 0.097 H 254.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#123D6E
RGBrgb(18, 61, 110)
HSLhsl(212, 72%, 25%)
HSVhsv(212, 84%, 43%)
CMYKcmyk(83.6%, 44.5%, 0%, 56.9%)
CIE-LABlab(25.54, 4.89, -32.56)
CIE-LCHlch(25.54, 32.92, 278.55°)
OKLaboklab(35.92% -0.026 -0.0932)
OKLCHoklch(35.92% 0.097 254.4)
XYZxyz(4.7316, 4.5913, 15.3857)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D6E #6E4312
analogous
#126B6E #123D6E #15126E
triadic
#123D6E #6E123D #3D6E12
tetradic
#123D6E #6E126B #6E4312 #126E15
square
#123D6E #6E126B #6E4312 #126E15
split-complementary
#123D6E #6E1512 #6B6E12
monochromatic
#040F1A #092039 #123D6E #1B5AA3 #2377D7

Accessibility & contrast

On white

10.95
#123D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#123D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D6E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D6E#FFFFFF#000000##FFFFFF
##123D6E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#14396D
Tritanopia (blue-blind)
#004950
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123d6e;
/* rgb */ color: rgb(18, 61, 110);
/* oklch */ color: oklch(35.9% 0.097 254.4);
Tailwind
colors: {
  custom: {
    50: '#607298',
    500: '#123d6e',
    950: '#000000',
  },
}
SCSS
$custom: #123d6e;
$custom-light: #607298;
$custom-dark: #000000;
JSON
{
  "hex": "#123d6e",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 110
  },
  "hsl": {
    "h": 211.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3592,
    "c": 0.09676,
    "h": 254.4
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#123D6E
secondary
#A57237
accent
#9A39EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #123D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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