#123A66#123A66

#123A66 is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.6% C 0.089 H 253.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#123A66
RGBrgb(18, 58, 102)
HSLhsl(211, 70%, 24%)
HSVhsv(211, 82%, 40%)
CMYKcmyk(82.4%, 43.1%, 0%, 60%)
CIE-LABlab(24.04, 3.61, -29.80)
CIE-LCHlch(24.04, 30.02, 276.90°)
OKLaboklab(34.59% -0.0251 -0.0852)
OKLCHoklch(34.59% 0.089 253.6)
XYZxyz(4.1599, 4.1135, 13.1425)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A66 #663E12
analogous
#126466 #123A66 #141266
triadic
#123A66 #66123A #3A6612
tetradic
#123A66 #661264 #663E12 #126614
square
#123A66 #661264 #663E12 #126614
split-complementary
#123A66 #661412 #646612
monochromatic
#050F1A #091C32 #123A66 #1B589A #2475CE

Accessibility & contrast

On white

11.52
#123A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#123A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A66
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A66#FFFFFF#000000##FFFFFF
##123A661.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253D68
Deuteranopia (green-blind)
#173665
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123a66;
/* rgb */ color: rgb(18, 58, 102);
/* oklch */ color: oklch(34.6% 0.089 253.6);
Tailwind
colors: {
  custom: {
    50: '#5e6f92',
    500: '#123a66',
    950: '#000000',
  },
}
SCSS
$custom: #123a66;
$custom-light: #5e6f92;
$custom-dark: #000000;
JSON
{
  "hex": "#123a66",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 102
  },
  "hsl": {
    "h": 211.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.0888,
    "h": 253.6
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#123A66
secondary
#9E6C36
accent
#983BED
background
#F5F6F9
surface
#EAECF1
border
#C6C7CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #123A66

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

Preview Lab → · Contrast checker → · Palette generator →

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