#123D6F#123D6F

#123D6F is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 36.0% C 0.098 H 254.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#123D6F
RGBrgb(18, 61, 111)
HSLhsl(212, 72%, 25%)
HSVhsv(212, 84%, 44%)
CMYKcmyk(83.8%, 45%, 0%, 56.5%)
CIE-LABlab(25.60, 5.32, -33.09)
CIE-LCHlch(25.60, 33.51, 279.13°)
OKLaboklab(35.99% -0.0257 -0.0948)
OKLCHoklch(35.99% 0.098 254.8)
XYZxyz(4.7864, 4.6132, 15.6740)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D6F #6F4412
analogous
#126B6F #123D6F #15126F
triadic
#123D6F #6F123D #3D6F12
tetradic
#123D6F #6F126B #6F4412 #126F15
square
#123D6F #6F126B #6F4412 #126F15
split-complementary
#123D6F #6F1512 #6B6F12
monochromatic
#040E1A #09203A #123D6F #1B5AA4 #2377D8

Accessibility & contrast

On white

10.92
#123D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123D6F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D6F#FFFFFF#000000##FFFFFF
##123D6F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#12396E
Tritanopia (blue-blind)
#004950
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123d6f;
/* rgb */ color: rgb(18, 61, 111);
/* oklch */ color: oklch(36.0% 0.098 254.8);
Tailwind
colors: {
  custom: {
    50: '#617299',
    500: '#123d6f',
    950: '#000000',
  },
}
SCSS
$custom: #123d6f;
$custom-light: #617299;
$custom-dark: #000000;
JSON
{
  "hex": "#123d6f",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 111
  },
  "hsl": {
    "h": 212.258,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35993,
    "c": 0.0982,
    "h": 254.8
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#123D6F
secondary
#A67337
accent
#9B39EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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