#123A5D#123A5D

#123A5D is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.0% C 0.076 H 248.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#123A5D
RGBrgb(18, 58, 93)
HSLhsl(208, 68%, 22%)
HSVhsv(208, 81%, 36%)
CMYKcmyk(80.6%, 37.6%, 0%, 63.5%)
CIE-LABlab(23.49, -0.18, -24.83)
CIE-LCHlch(23.49, 24.84, 269.59°)
OKLaboklab(33.97% -0.0277 -0.0706)
OKLCHoklch(33.97% 0.076 248.6)
XYZxyz(3.7375, 3.9446, 10.9182)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A5D #5D3512
analogous
#125D5B #123A5D #12155D
triadic
#123A5D #5D123A #3A5D12
tetradic
#123A5D #5B125D #5D3512 #155D12
square
#123A5D #5B125D #5D3512 #155D12
split-complementary
#123A5D #5D1215 #5D5B12
monochromatic
#05101A #081A2A #123A5D #1C5A90 #267AC4

Accessibility & contrast

On white

11.74
#123A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A5D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A5D#FFFFFF#000000##FFFFFF
##123A5D1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5E
Deuteranopia (green-blind)
#1F355C
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123a5d;
/* rgb */ color: rgb(18, 58, 93);
/* oklch */ color: oklch(34.0% 0.076 248.6);
Tailwind
colors: {
  custom: {
    50: '#5c6f8b',
    500: '#123a5d',
    950: '#000000',
  },
}
SCSS
$custom: #123a5d;
$custom-light: #5c6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#123a5d",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 93
  },
  "hsl": {
    "h": 208,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33973,
    "c": 0.07585,
    "h": 248.6
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#123A5D
secondary
#956235
accent
#8E3DEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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