#123A5A#123A5A

#123A5A is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.8% C 0.072 H 246.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#123A5A
RGBrgb(18, 58, 90)
HSLhsl(207, 67%, 21%)
HSVhsv(207, 80%, 35%)
CMYKcmyk(80%, 35.6%, 0%, 64.7%)
CIE-LABlab(23.31, -1.42, -23.15)
CIE-LCHlch(23.31, 23.19, 266.48°)
OKLaboklab(33.78% -0.0286 -0.0657)
OKLCHoklch(33.78% 0.072 246.4)
XYZxyz(3.6073, 3.8925, 10.2321)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A5A #5A3212
analogous
#125A56 #123A5A #12165A
triadic
#123A5A #5A123A #3A5A12
tetradic
#123A5A #56125A #5A3212 #165A12
square
#123A5A #56125A #5A3212 #165A12
split-complementary
#123A5A #5A1216 #5A5612
monochromatic
#05101A #081927 #123A5A #1C5B8D #267CC0

Accessibility & contrast

On white

11.81
#123A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A5A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A5A#FFFFFF#000000##FFFFFF
##123A5A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5B
Deuteranopia (green-blind)
#213559
Tritanopia (blue-blind)
#004245
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123a5a;
/* rgb */ color: rgb(18, 58, 90);
/* oklch */ color: oklch(33.8% 0.072 246.4);
Tailwind
colors: {
  custom: {
    50: '#5b6f89',
    500: '#123a5a',
    950: '#000000',
  },
}
SCSS
$custom: #123a5a;
$custom-light: #5b6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#123a5a",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 90
  },
  "hsl": {
    "h": 206.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33778,
    "c": 0.07166,
    "h": 246.4
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#123A5A
secondary
#935F35
accent
#8A3EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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