#123F7B#123F7B

#123F7B is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.4% C 0.113 H 257.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#123F7B
RGBrgb(18, 63, 123)
HSLhsl(214, 74%, 28%)
HSVhsv(214, 85%, 48%)
CMYKcmyk(85.4%, 48.8%, 0%, 51.8%)
CIE-LABlab(27.05, 8.99, -38.36)
CIE-LCHlch(27.05, 39.40, 283.19°)
OKLaboklab(37.38% -0.025 -0.1102)
OKLCHoklch(37.38% 0.113 257.2)
XYZxyz(5.6008, 5.1130, 19.4268)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F7B #7B4E12
analogous
#12737B #123F7B #1A127B
triadic
#123F7B #7B123F #3F7B12
tetradic
#123F7B #7B1273 #7B4E12 #127B1A
square
#123F7B #7B1273 #7B4E12 #127B1A
split-complementary
#123F7B #7B1A12 #737B12
monochromatic
#040E1B #0A2446 #123F7B #1A5AB0 #2877E0

Accessibility & contrast

On white

10.38
#123F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123F7B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F7B#FFFFFF#000000##FFFFFF
##123F7B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #123f7b;
/* rgb */ color: rgb(18, 63, 123);
/* oklch */ color: oklch(37.4% 0.113 257.2);
Tailwind
colors: {
  custom: {
    50: '#6473a2',
    500: '#123f7b',
    950: '#000000',
  },
}
SCSS
$custom: #123f7b;
$custom-light: #6473a2;
$custom-dark: #000000;
JSON
{
  "hex": "#123f7b",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 214.286,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3738,
    "c": 0.11303,
    "h": 257.2
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#123F7B
secondary
#B17D38
accent
#A137F1
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #123F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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