#123D76#123D76

#123D76 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.5% C 0.108 H 257.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#123D76
RGBrgb(18, 61, 118)
HSLhsl(214, 74%, 27%)
HSVhsv(214, 85%, 46%)
CMYKcmyk(84.7%, 48.3%, 0%, 53.7%)
CIE-LABlab(26.08, 8.28, -36.77)
CIE-LCHlch(26.08, 37.69, 282.68°)
OKLaboklab(36.52% -0.0242 -0.1056)
OKLCHoklch(36.52% 0.108 257.1)
XYZxyz(5.1870, 4.7735, 17.7840)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D76 #764B12
analogous
#126F76 #123D76 #191276
triadic
#123D76 #76123D #3D7612
tetradic
#123D76 #76126F #764B12 #127619
square
#123D76 #76126F #764B12 #127619
split-complementary
#123D76 #761912 #6F7612
monochromatic
#040E1B #0A2241 #123D76 #1A58AB #2574DE

Accessibility & contrast

On white

10.74
#123D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#123D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D76
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D76#FFFFFF#000000##FFFFFF
##123D761.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#043A75
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123d76;
/* rgb */ color: rgb(18, 61, 118);
/* oklch */ color: oklch(36.5% 0.108 257.1);
Tailwind
colors: {
  custom: {
    50: '#62719e',
    500: '#123d76',
    950: '#000000',
  },
}
SCSS
$custom: #123d76;
$custom-light: #62719e;
$custom-dark: #000000;
JSON
{
  "hex": "#123d76",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 214.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36515,
    "c": 0.10837,
    "h": 257.1
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#123D76
secondary
#AD7A37
accent
#A138F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123D76

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

Preview Lab → · Contrast checker → · Palette generator →

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