#123A52#123A52

#123A52 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.3% C 0.061 H 239.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#123A52
RGBrgb(18, 58, 82)
HSLhsl(203, 64%, 20%)
HSVhsv(203, 78%, 32%)
CMYKcmyk(78%, 29.3%, 0%, 67.8%)
CIE-LABlab(22.87, -4.69, -18.57)
CIE-LCHlch(22.87, 19.15, 255.82°)
OKLaboklab(33.29% -0.0315 -0.0524)
OKLCHoklch(33.29% 0.061 239)
XYZxyz(3.2849, 3.7635, 8.5343)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A52 #522A12
analogous
#12524A #123A52 #121A52
triadic
#123A52 #52123A #3A5212
tetradic
#123A52 #4A1252 #522A12 #1A5212
square
#123A52 #4A1252 #522A12 #1A5212
split-complementary
#123A52 #52121A #524A12
monochromatic
#061219 #071720 #123A52 #1D5D84 #2881B6

Accessibility & contrast

On white

11.98
#123A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A52
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A52#FFFFFF#000000##FFFFFF
##123A521.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#263452
Tritanopia (blue-blind)
#004042
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123a52;
/* rgb */ color: rgb(18, 58, 82);
/* oklch */ color: oklch(33.3% 0.061 239.0);
Tailwind
colors: {
  custom: {
    50: '#5a7082',
    500: '#123a52',
    950: '#000000',
  },
}
SCSS
$custom: #123a52;
$custom-light: #5a7082;
$custom-dark: #000000;
JSON
{
  "hex": "#123a52",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 82
  },
  "hsl": {
    "h": 202.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33287,
    "c": 0.06112,
    "h": 239
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#123A52
secondary
#8B5535
accent
#7F41E7
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123A52

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

Preview Lab → · Contrast checker → · Palette generator →

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