#123B76#123B76

#123B76 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.0% C 0.111 H 258.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#123B76
RGBrgb(18, 59, 118)
HSLhsl(215, 74%, 27%)
HSVhsv(215, 85%, 46%)
CMYKcmyk(84.7%, 50%, 0%, 53.7%)
CIE-LABlab(25.45, 9.69, -37.78)
CIE-LCHlch(25.45, 39.00, 284.38°)
OKLaboklab(36.03% -0.0226 -0.1086)
OKLCHoklch(36.03% 0.111 258.3)
XYZxyz(5.0822, 4.5639, 17.7491)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B76 #764D12
analogous
#126D76 #123B76 #1B1276
triadic
#123B76 #76123B #3B7612
tetradic
#123B76 #76126D #764D12 #12761B
square
#123B76 #76126D #764D12 #12761B
split-complementary
#123B76 #761B12 #6D7612
monochromatic
#040D1B #0A2041 #123B76 #1A56AB #2571DE

Accessibility & contrast

On white

10.98
#123B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#123B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B76
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B76#FFFFFF#000000##FFFFFF
##123B761.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123b76;
/* rgb */ color: rgb(18, 59, 118);
/* oklch */ color: oklch(36.0% 0.111 258.3);
Tailwind
colors: {
  custom: {
    50: '#62709e',
    500: '#123b76',
    950: '#000000',
  },
}
SCSS
$custom: #123b76;
$custom-light: #62709e;
$custom-dark: #000000;
JSON
{
  "hex": "#123b76",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 118
  },
  "hsl": {
    "h": 215.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36033,
    "c": 0.11094,
    "h": 258.3
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#123B76
secondary
#AD7C37
accent
#A538F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123B76

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

Preview Lab → · Contrast checker → · Palette generator →

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