#123A68#123A68

#123A68 is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.7% C 0.092 H 254.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#123A68
RGBrgb(18, 58, 104)
HSLhsl(212, 70%, 24%)
HSVhsv(212, 83%, 41%)
CMYKcmyk(82.7%, 44.2%, 0%, 59.2%)
CIE-LABlab(24.17, 4.45, -30.88)
CIE-LCHlch(24.17, 31.20, 278.20°)
OKLaboklab(34.73% -0.0246 -0.0884)
OKLCHoklch(34.73% 0.092 254.4)
XYZxyz(4.2603, 4.1537, 13.6712)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A68 #684012
analogous
#126568 #123A68 #151268
triadic
#123A68 #68123A #3A6812
tetradic
#123A68 #681265 #684012 #126815
square
#123A68 #681265 #684012 #126815
split-complementary
#123A68 #681512 #656812
monochromatic
#050F1A #091D34 #123A68 #1B579C #2474D0

Accessibility & contrast

On white

11.47
#123A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#123A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A68
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A68#FFFFFF#000000##FFFFFF
##123A681.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233E6A
Deuteranopia (green-blind)
#143667
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123a68;
/* rgb */ color: rgb(18, 58, 104);
/* oklch */ color: oklch(34.7% 0.092 254.4);
Tailwind
colors: {
  custom: {
    50: '#5f6f93',
    500: '#123a68',
    950: '#000000',
  },
}
SCSS
$custom: #123a68;
$custom-light: #5f6f93;
$custom-dark: #000000;
JSON
{
  "hex": "#123a68",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 104
  },
  "hsl": {
    "h": 212.093,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34732,
    "c": 0.09172,
    "h": 254.4
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#123A68
secondary
#A06F36
accent
#9A3BED
background
#F5F6F9
surface
#EAECF1
border
#C6C7CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #123A68

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

Preview Lab → · Contrast checker → · Palette generator →

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