#123A54#123A54

#123A54 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.4% C 0.064 H 241.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#123A54
RGBrgb(18, 58, 84)
HSLhsl(204, 65%, 20%)
HSVhsv(204, 79%, 33%)
CMYKcmyk(78.6%, 31%, 0%, 67.1%)
CIE-LABlab(22.98, -3.88, -19.72)
CIE-LCHlch(22.98, 20.10, 258.86°)
OKLaboklab(33.41% -0.0307 -0.0557)
OKLCHoklch(33.41% 0.064 241.1)
XYZxyz(3.3621, 3.7944, 8.9410)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A54 #542C12
analogous
#12544D #123A54 #121954
triadic
#123A54 #54123A #3A5412
tetradic
#123A54 #4D1254 #542C12 #195412
square
#123A54 #4D1254 #542C12 #195412
split-complementary
#123A54 #541219 #544D12
monochromatic
#051119 #071722 #123A54 #1D5D86 #2880B9

Accessibility & contrast

On white

11.94
#123A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#123A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A54
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A54#FFFFFF#000000##FFFFFF
##123A541.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A55
Deuteranopia (green-blind)
#253454
Tritanopia (blue-blind)
#004043
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123a54;
/* rgb */ color: rgb(18, 58, 84);
/* oklch */ color: oklch(33.4% 0.064 241.1);
Tailwind
colors: {
  custom: {
    50: '#5a7084',
    500: '#123a54',
    950: '#000000',
  },
}
SCSS
$custom: #123a54;
$custom-light: #5a7084;
$custom-dark: #000000;
JSON
{
  "hex": "#123a54",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 84
  },
  "hsl": {
    "h": 203.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.06364,
    "h": 241.1
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#123A54
secondary
#8D5835
accent
#8240E8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123A54

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

Preview Lab → · Contrast checker → · Palette generator →

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