#123D70#123D70

#123D70 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 36.1% C 0.100 H 255.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#123D70
RGBrgb(18, 61, 112)
HSLhsl(213, 72%, 25%)
HSVhsv(213, 84%, 44%)
CMYKcmyk(83.9%, 45.5%, 0%, 56.1%)
CIE-LABlab(25.67, 5.74, -33.62)
CIE-LCHlch(25.67, 34.11, 279.69°)
OKLaboklab(36.07% -0.0255 -0.0963)
OKLCHoklch(36.07% 0.1 255.2)
XYZxyz(4.8417, 4.6354, 15.9656)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D70 #704512
analogous
#126C70 #123D70 #161270
triadic
#123D70 #70123D #3D7012
tetradic
#123D70 #70126C #704512 #127016
square
#123D70 #70126C #704512 #127016
split-complementary
#123D70 #701612 #6C7012
monochromatic
#040E1A #0A203B #123D70 #1A5AA5 #2376D9

Accessibility & contrast

On white

10.90
#123D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#123D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D70
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D70#FFFFFF#000000##FFFFFF
##123D701.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234172
Deuteranopia (green-blind)
#11396F
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123d70;
/* rgb */ color: rgb(18, 61, 112);
/* oklch */ color: oklch(36.1% 0.100 255.2);
Tailwind
colors: {
  custom: {
    50: '#617299',
    500: '#123d70',
    950: '#000000',
  },
}
SCSS
$custom: #123d70;
$custom-light: #617299;
$custom-dark: #000000;
JSON
{
  "hex": "#123d70",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 112
  },
  "hsl": {
    "h": 212.553,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36066,
    "c": 0.09966,
    "h": 255.2
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#123D70
secondary
#A77437
accent
#9C39EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123D70

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

Preview Lab → · Contrast checker → · Palette generator →

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