#123A64#123A64

#123A64 is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.4% C 0.086 H 252.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#123A64
RGBrgb(18, 58, 100)
HSLhsl(211, 69%, 23%)
HSVhsv(211, 82%, 39%)
CMYKcmyk(82%, 42%, 0%, 60.8%)
CIE-LABlab(23.92, 2.76, -28.71)
CIE-LCHlch(23.92, 28.84, 275.49°)
OKLaboklab(34.45% -0.0256 -0.082)
OKLCHoklch(34.45% 0.086 252.6)
XYZxyz(4.0619, 4.0743, 12.6265)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A64 #643C12
analogous
#126364 #123A64 #131264
triadic
#123A64 #64123A #3A6412
tetradic
#123A64 #641263 #643C12 #126413
square
#123A64 #641263 #643C12 #126413
split-complementary
#123A64 #641312 #636412
monochromatic
#050F1A #091C30 #123A64 #1B5898 #2576CC

Accessibility & contrast

On white

11.57
#123A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#123A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A64
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A64#FFFFFF#000000##FFFFFF
##123A641.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263D66
Deuteranopia (green-blind)
#193563
Tritanopia (blue-blind)
#00444A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123a64;
/* rgb */ color: rgb(18, 58, 100);
/* oklch */ color: oklch(34.4% 0.086 252.6);
Tailwind
colors: {
  custom: {
    50: '#5e6f90',
    500: '#123a64',
    950: '#000000',
  },
}
SCSS
$custom: #123a64;
$custom-light: #5e6f90;
$custom-dark: #000000;
JSON
{
  "hex": "#123a64",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 100
  },
  "hsl": {
    "h": 210.732,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34448,
    "c": 0.08589,
    "h": 252.6
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#123A64
secondary
#9C6A36
accent
#963BEC
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123A64

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

Preview Lab → · Contrast checker → · Palette generator →

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