#123B52#123B52

#123B52 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.6% C 0.060 H 237.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#123B52
RGBrgb(18, 59, 82)
HSLhsl(202, 64%, 20%)
HSVhsv(202, 78%, 32%)
CMYKcmyk(78%, 28%, 0%, 67.8%)
CIE-LABlab(23.22, -5.35, -18.03)
CIE-LCHlch(23.22, 18.80, 253.46°)
OKLaboklab(33.56% -0.0327 -0.0508)
OKLCHoklch(33.56% 0.06 237.3)
XYZxyz(3.3358, 3.8653, 8.5513)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B52 #522912
analogous
#125249 #123B52 #121B52
triadic
#123B52 #52123B #3B5212
tetradic
#123B52 #491252 #522912 #1B5212
square
#123B52 #491252 #522912 #1B5212
split-complementary
#123B52 #52121B #524912
monochromatic
#061219 #071720 #123B52 #1D5F84 #2883B6

Accessibility & contrast

On white

11.84
#123B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B52
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B52#FFFFFF#000000##FFFFFF
##123B521.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#273552
Tritanopia (blue-blind)
#004143
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123b52;
/* rgb */ color: rgb(18, 59, 82);
/* oklch */ color: oklch(33.6% 0.060 237.3);
Tailwind
colors: {
  custom: {
    50: '#5a7082',
    500: '#123b52',
    950: '#000000',
  },
}
SCSS
$custom: #123b52;
$custom-light: #5a7082;
$custom-dark: #000000;
JSON
{
  "hex": "#123b52",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 82
  },
  "hsl": {
    "h": 201.563,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33563,
    "c": 0.06038,
    "h": 237.3
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#123B52
secondary
#8B5435
accent
#7D41E7
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123B52

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

Preview Lab → · Contrast checker → · Palette generator →

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