#123A6D#123A6D

#123A6D is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 35.1% C 0.099 H 256.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#123A6D
RGBrgb(18, 58, 109)
HSLhsl(214, 72%, 25%)
HSVhsv(214, 83%, 43%)
CMYKcmyk(83.5%, 46.8%, 0%, 57.3%)
CIE-LABlab(24.51, 6.57, -33.56)
CIE-LCHlch(24.51, 34.20, 281.08°)
OKLaboklab(35.1% -0.0235 -0.0962)
OKLCHoklch(35.1% 0.099 256.3)
XYZxyz(4.5218, 4.2583, 15.0486)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A6D #6D4512
analogous
#12686D #123A6D #17126D
triadic
#123A6D #6D123A #3A6D12
tetradic
#123A6D #6D1268 #6D4512 #126D17
square
#123A6D #6D1268 #6D4512 #126D17
split-complementary
#123A6D #6D1712 #686D12
monochromatic
#040E1A #091E38 #123A6D #1B56A2 #2372D6

Accessibility & contrast

On white

11.34
#123A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#123A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A6D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A6D#FFFFFF#000000##FFFFFF
##123A6D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#0C366C
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123a6d;
/* rgb */ color: rgb(18, 58, 109);
/* oklch */ color: oklch(35.1% 0.099 256.3);
Tailwind
colors: {
  custom: {
    50: '#606f97',
    500: '#123a6d',
    950: '#000000',
  },
}
SCSS
$custom: #123a6d;
$custom-light: #606f97;
$custom-dark: #000000;
JSON
{
  "hex": "#123a6d",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 109
  },
  "hsl": {
    "h": 213.626,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35099,
    "c": 0.09906,
    "h": 256.3
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#123A6D
secondary
#A47437
accent
#9F39EE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #123A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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