#123F7C#123F7C

#123F7C is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.5% C 0.114 H 257.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#123F7C
RGBrgb(18, 63, 124)
HSLhsl(215, 75%, 28%)
HSVhsv(215, 85%, 49%)
CMYKcmyk(85.5%, 49.2%, 0%, 51.4%)
CIE-LABlab(27.12, 9.41, -38.88)
CIE-LCHlch(27.12, 40.00, 283.61°)
OKLaboklab(37.46% -0.0248 -0.1118)
OKLCHoklch(37.46% 0.114 257.5)
XYZxyz(5.6637, 5.1382, 19.7581)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F7C #7C4F12
analogous
#12747C #123F7C #1A127C
triadic
#123F7C #7C123F #3F7C12
tetradic
#123F7C #7C1274 #7C4F12 #127C1A
square
#123F7C #7C1274 #7C4F12 #127C1A
split-complementary
#123F7C #7C1A12 #747C12
monochromatic
#040E1B #0A2447 #123F7C #1A5AB1 #2976E0

Accessibility & contrast

On white

10.36
#123F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#123F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F7C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F7C#FFFFFF#000000##FFFFFF
##123F7C1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #123f7c;
/* rgb */ color: rgb(18, 63, 124);
/* oklch */ color: oklch(37.5% 0.114 257.5);
Tailwind
colors: {
  custom: {
    50: '#6473a2',
    500: '#123f7c',
    950: '#000000',
  },
}
SCSS
$custom: #123f7c;
$custom-light: #6473a2;
$custom-dark: #000000;
JSON
{
  "hex": "#123f7c",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 214.528,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37457,
    "c": 0.11447,
    "h": 257.5
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#123F7C
secondary
#B27E38
accent
#A237F1
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #123F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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