#123A62#123A62

#123A62 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.3% C 0.083 H 251.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#123A62
RGBrgb(18, 58, 98)
HSLhsl(210, 69%, 23%)
HSVhsv(210, 82%, 38%)
CMYKcmyk(81.6%, 40.8%, 0%, 61.6%)
CIE-LABlab(23.79, 1.92, -27.61)
CIE-LCHlch(23.79, 27.68, 273.97°)
OKLaboklab(34.31% -0.0262 -0.0787)
OKLCHoklch(34.31% 0.083 251.6)
XYZxyz(3.9663, 4.0361, 12.1229)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A62 #623A12
analogous
#126262 #123A62 #121262
triadic
#123A62 #62123A #3A6212
tetradic
#123A62 #621262 #623A12 #126212
square
#123A62 #621262 #623A12 #126212
split-complementary
#123A62 #621212 #626212
monochromatic
#050F1A #091B2E #123A62 #1B5996 #2577C9

Accessibility & contrast

On white

11.62
#123A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A62
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A62#FFFFFF#000000##FFFFFF
##123A621.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D64
Deuteranopia (green-blind)
#1B3561
Tritanopia (blue-blind)
#004349
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123a62;
/* rgb */ color: rgb(18, 58, 98);
/* oklch */ color: oklch(34.3% 0.083 251.6);
Tailwind
colors: {
  custom: {
    50: '#5d6f8f',
    500: '#123a62',
    950: '#000000',
  },
}
SCSS
$custom: #123a62;
$custom-light: #5d6f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#123a62",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 98
  },
  "hsl": {
    "h": 210,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34309,
    "c": 0.08299,
    "h": 251.6
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#123A62
secondary
#9A6836
accent
#943CEC
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123A62

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

Preview Lab → · Contrast checker → · Palette generator →

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