#123A53#123A53

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

Color values

HEX#123A53
RGBrgb(18, 58, 83)
HSLhsl(203, 64%, 20%)
HSVhsv(203, 78%, 33%)
CMYKcmyk(78.3%, 30.1%, 0%, 67.5%)
CIE-LABlab(22.93, -4.29, -19.15)
CIE-LCHlch(22.93, 19.62, 257.37°)
OKLaboklab(33.35% -0.0311 -0.054)
OKLCHoklch(33.35% 0.062 240.1)
XYZxyz(3.3232, 3.7789, 8.7362)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A53 #532B12
analogous
#12534C #123A53 #121A53
triadic
#123A53 #53123A #3A5312
tetradic
#123A53 #4C1253 #532B12 #1A5312
square
#123A53 #4C1253 #532B12 #1A5312
split-complementary
#123A53 #53121A #534C12
monochromatic
#051219 #071721 #123A53 #1D5D85 #2880B8

Accessibility & contrast

On white

11.96
#123A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123A53
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A53#FFFFFF#000000##FFFFFF
##123A531.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #123a53;
/* rgb */ color: rgb(18, 58, 83);
/* oklch */ color: oklch(33.3% 0.062 240.1);
Tailwind
colors: {
  custom: {
    50: '#5a7083',
    500: '#123a53',
    950: '#000000',
  },
}
SCSS
$custom: #123a53;
$custom-light: #5a7083;
$custom-dark: #000000;
JSON
{
  "hex": "#123a53",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 83
  },
  "hsl": {
    "h": 203.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33346,
    "c": 0.06237,
    "h": 240.1
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#123A53
secondary
#8C5635
accent
#8140E7
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123A53

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

Preview Lab → · Contrast checker → · Palette generator →

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