#123A6E#123A6E

#123A6E is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 35.2% C 0.101 H 256.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#123A6E
RGBrgb(18, 58, 110)
HSLhsl(214, 72%, 25%)
HSVhsv(214, 84%, 43%)
CMYKcmyk(83.6%, 47.3%, 0%, 56.9%)
CIE-LABlab(24.58, 7.00, -34.10)
CIE-LCHlch(24.58, 34.81, 281.59°)
OKLaboklab(35.17% -0.0232 -0.0978)
OKLCHoklch(35.17% 0.101 256.6)
XYZxyz(4.5759, 4.2800, 15.3338)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A6E #6E4612
analogous
#12686E #123A6E #18126E
triadic
#123A6E #6E123A #3A6E12
tetradic
#123A6E #6E1268 #6E4612 #126E18
square
#123A6E #6E1268 #6E4612 #126E18
split-complementary
#123A6E #6E1812 #686E12
monochromatic
#040E1A #091E39 #123A6E #1B56A3 #2371D7

Accessibility & contrast

On white

11.31
#123A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123A6E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A6E#FFFFFF#000000##FFFFFF
##123A6E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#0A366D
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123a6e;
/* rgb */ color: rgb(18, 58, 110);
/* oklch */ color: oklch(35.2% 0.101 256.6);
Tailwind
colors: {
  custom: {
    50: '#606f98',
    500: '#123a6e',
    950: '#000000',
  },
}
SCSS
$custom: #123a6e;
$custom-light: #606f98;
$custom-dark: #000000;
JSON
{
  "hex": "#123a6e",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 110
  },
  "hsl": {
    "h": 213.913,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35175,
    "c": 0.10053,
    "h": 256.6
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#123A6E
secondary
#A57537
accent
#A039EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #123A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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