#123B74#123B74

#123B74 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.9% C 0.108 H 257.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#123B74
RGBrgb(18, 59, 116)
HSLhsl(215, 73%, 26%)
HSVhsv(215, 84%, 45%)
CMYKcmyk(84.5%, 49.1%, 0%, 54.5%)
CIE-LABlab(25.31, 8.84, -36.74)
CIE-LCHlch(25.31, 37.79, 283.52°)
OKLaboklab(35.88% -0.0229 -0.1056)
OKLCHoklch(35.88% 0.108 257.7)
XYZxyz(4.9646, 4.5169, 17.1298)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B74 #744B12
analogous
#126C74 #123B74 #1A1274
triadic
#123B74 #74123B #3B7412
tetradic
#123B74 #74126C #744B12 #12741A
square
#123B74 #74126C #744B12 #12741A
split-complementary
#123B74 #741A12 #6C7412
monochromatic
#040D1A #0A203F #123B74 #1A56A9 #2371DD

Accessibility & contrast

On white

11.03
#123B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#123B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B74
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B74#FFFFFF#000000##FFFFFF
##123B741.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123b74;
/* rgb */ color: rgb(18, 59, 116);
/* oklch */ color: oklch(35.9% 0.108 257.7);
Tailwind
colors: {
  custom: {
    50: '#62709c',
    500: '#123b74',
    950: '#000000',
  },
}
SCSS
$custom: #123b74;
$custom-light: #62709c;
$custom-dark: #000000;
JSON
{
  "hex": "#123b74",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 116
  },
  "hsl": {
    "h": 214.898,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35877,
    "c": 0.10802,
    "h": 257.7
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#123B74
secondary
#AB7A37
accent
#A338F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123B74

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

Preview Lab → · Contrast checker → · Palette generator →

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