#123F7A#123F7A

#123F7A is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.3% C 0.112 H 257.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#123F7A
RGBrgb(18, 63, 122)
HSLhsl(214, 74%, 27%)
HSVhsv(214, 85%, 48%)
CMYKcmyk(85.2%, 48.4%, 0%, 52.2%)
CIE-LABlab(26.98, 8.57, -37.84)
CIE-LCHlch(26.98, 38.80, 282.76°)
OKLaboklab(37.3% -0.0251 -0.1087)
OKLCHoklch(37.3% 0.112 257)
XYZxyz(5.5385, 5.0881, 19.0988)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F7A #7A4D12
analogous
#12737A #123F7A #19127A
triadic
#123F7A #7A123F #3F7A12
tetradic
#123F7A #7A1273 #7A4D12 #127A19
square
#123F7A #7A1273 #7A4D12 #127A19
split-complementary
#123F7A #7A1912 #737A12
monochromatic
#040E1B #0A2345 #123F7A #1A5BAF #2777DF

Accessibility & contrast

On white

10.41
#123F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#123F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F7A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F7A#FFFFFF#000000##FFFFFF
##123F7A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#023B79
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #123f7a;
/* rgb */ color: rgb(18, 63, 122);
/* oklch */ color: oklch(37.3% 0.112 257.0);
Tailwind
colors: {
  custom: {
    50: '#6373a1',
    500: '#123f7a',
    950: '#000000',
  },
}
SCSS
$custom: #123f7a;
$custom-light: #6373a1;
$custom-dark: #000000;
JSON
{
  "hex": "#123f7a",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 214.038,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.11159,
    "h": 257
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#123F7A
secondary
#B07C38
accent
#A037F1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #123F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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