#123B71#123B71

#123B71 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.6% C 0.104 H 256.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#123B71
RGBrgb(18, 59, 113)
HSLhsl(214, 73%, 26%)
HSVhsv(214, 84%, 44%)
CMYKcmyk(84.1%, 47.8%, 0%, 55.7%)
CIE-LABlab(25.10, 7.57, -35.17)
CIE-LCHlch(25.10, 35.97, 282.14°)
OKLaboklab(35.65% -0.0235 -0.1009)
OKLCHoklch(35.65% 0.104 256.9)
XYZxyz(4.7930, 4.4482, 16.2256)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B71 #714812
analogous
#126A71 #123B71 #181271
triadic
#123B71 #71123B #3B7112
tetradic
#123B71 #71126A #714812 #127118
square
#123B71 #71126A #714812 #127118
split-complementary
#123B71 #711812 #6A7112
monochromatic
#040E1A #0A1F3C #123B71 #1A57A6 #2372DB

Accessibility & contrast

On white

11.11
#123B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#123B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B71
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B71#FFFFFF#000000##FFFFFF
##123B711.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#073870
Tritanopia (blue-blind)
#004850
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123b71;
/* rgb */ color: rgb(18, 59, 113);
/* oklch */ color: oklch(35.6% 0.104 256.9);
Tailwind
colors: {
  custom: {
    50: '#61709a',
    500: '#123b71',
    950: '#000000',
  },
}
SCSS
$custom: #123b71;
$custom-light: #61709a;
$custom-dark: #000000;
JSON
{
  "hex": "#123b71",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 214.105,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35647,
    "c": 0.10364,
    "h": 256.9
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#123B71
secondary
#A87737
accent
#A039EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123B71

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

Preview Lab → · Contrast checker → · Palette generator →

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