#123A6F#123A6F

#123A6F is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 35.3% C 0.102 H 256.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#123A6F
RGBrgb(18, 58, 111)
HSLhsl(214, 72%, 25%)
HSVhsv(214, 84%, 44%)
CMYKcmyk(83.8%, 47.7%, 0%, 56.5%)
CIE-LABlab(24.65, 7.42, -34.62)
CIE-LCHlch(24.65, 35.41, 282.10°)
OKLaboklab(35.25% -0.023 -0.0994)
OKLCHoklch(35.25% 0.102 256.9)
XYZxyz(4.6307, 4.3019, 15.6221)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A6F #6F4712
analogous
#12686F #123A6F #19126F
triadic
#123A6F #6F123A #3A6F12
tetradic
#123A6F #6F1268 #6F4712 #126F19
square
#123A6F #6F1268 #6F4712 #126F19
split-complementary
#123A6F #6F1912 #686F12
monochromatic
#040E1A #091E3A #123A6F #1B56A4 #2371D8

Accessibility & contrast

On white

11.29
#123A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#123A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A6F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A6F#FFFFFF#000000##FFFFFF
##123A6F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#08376E
Tritanopia (blue-blind)
#00474F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123a6f;
/* rgb */ color: rgb(18, 58, 111);
/* oklch */ color: oklch(35.3% 0.102 256.9);
Tailwind
colors: {
  custom: {
    50: '#616f99',
    500: '#123a6f',
    950: '#000000',
  },
}
SCSS
$custom: #123a6f;
$custom-light: #616f99;
$custom-dark: #000000;
JSON
{
  "hex": "#123a6f",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 111
  },
  "hsl": {
    "h": 214.194,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3525,
    "c": 0.102,
    "h": 256.9
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#123A6F
secondary
#A67637
accent
#A139EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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