#123F75#123F75

#123F75 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.104 H 255.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#123F75
RGBrgb(18, 63, 117)
HSLhsl(213, 73%, 26%)
HSVhsv(213, 85%, 46%)
CMYKcmyk(84.6%, 46.2%, 0%, 54.1%)
CIE-LABlab(26.64, 6.46, -35.24)
CIE-LCHlch(26.64, 35.83, 280.39°)
OKLaboklab(36.93% -0.0262 -0.101)
OKLCHoklch(36.93% 0.104 255.5)
XYZxyz(5.2367, 4.9673, 17.5090)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F75 #754812
analogous
#127175 #123F75 #171275
triadic
#123F75 #75123F #3F7512
tetradic
#123F75 #751271 #754812 #127517
square
#123F75 #751271 #754812 #127517
split-complementary
#123F75 #751712 #717512
monochromatic
#040E1B #0A2240 #123F75 #1A5CAA #2478DD

Accessibility & contrast

On white

10.53
#123F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#123F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F75
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F75#FFFFFF#000000##FFFFFF
##123F751.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234477
Deuteranopia (green-blind)
#0E3B74
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #123f75;
/* rgb */ color: rgb(18, 63, 117);
/* oklch */ color: oklch(36.9% 0.104 255.5);
Tailwind
colors: {
  custom: {
    50: '#62739d',
    500: '#123f75',
    950: '#000000',
  },
}
SCSS
$custom: #123f75;
$custom-light: #62739d;
$custom-dark: #000000;
JSON
{
  "hex": "#123f75",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 117
  },
  "hsl": {
    "h": 212.727,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36928,
    "c": 0.10439,
    "h": 255.5
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#123F75
secondary
#AC7737
accent
#9C38F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #123F75

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

Preview Lab → · Contrast checker → · Palette generator →

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