#123A71#123A71

#123A71 is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 35.4% C 0.105 H 257.5°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#123A71
RGBrgb(18, 58, 113)
HSLhsl(215, 73%, 26%)
HSVhsv(215, 84%, 44%)
CMYKcmyk(84.1%, 48.7%, 0%, 55.7%)
CIE-LABlab(24.79, 8.27, -35.68)
CIE-LCHlch(24.79, 36.62, 283.05°)
OKLaboklab(35.4% -0.0226 -0.1025)
OKLCHoklch(35.4% 0.105 257.5)
XYZxyz(4.7420, 4.3464, 16.2086)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A71 #714912
analogous
#126971 #123A71 #1A1271
triadic
#123A71 #71123A #3A7112
tetradic
#123A71 #711269 #714912 #12711A
square
#123A71 #711269 #714912 #12711A
split-complementary
#123A71 #711A12 #697112
monochromatic
#040E1A #0A1F3C #123A71 #1A55A6 #2370DB

Accessibility & contrast

On white

11.23
#123A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#123A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A71
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A71#FFFFFF#000000##FFFFFF
##123A711.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F73
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123a71;
/* rgb */ color: rgb(18, 58, 113);
/* oklch */ color: oklch(35.4% 0.105 257.5);
Tailwind
colors: {
  custom: {
    50: '#616f9a',
    500: '#123a71',
    950: '#000000',
  },
}
SCSS
$custom: #123a71;
$custom-light: #616f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#123a71",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 214.737,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.10493,
    "h": 257.5
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#123A71
secondary
#A87837
accent
#A239EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123A71

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

Preview Lab → · Contrast checker → · Palette generator →

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