#123B7A#123B7A

#123B7A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.117 H 259.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#123B7A
RGBrgb(18, 59, 122)
HSLhsl(216, 74%, 27%)
HSVhsv(216, 85%, 48%)
CMYKcmyk(85.2%, 51.6%, 0%, 52.2%)
CIE-LABlab(25.75, 11.38, -39.84)
CIE-LCHlch(25.75, 41.43, 285.94°)
OKLaboklab(36.35% -0.0219 -0.1147)
OKLCHoklch(36.35% 0.117 259.2)
XYZxyz(5.3250, 4.6610, 19.0276)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B7A #7A5112
analogous
#126F7A #123B7A #1D127A
triadic
#123B7A #7A123B #3B7A12
tetradic
#123B7A #7A126F #7A5112 #127A1D
square
#123B7A #7A126F #7A5112 #127A1D
split-complementary
#123B7A #7A1D12 #6F7A12
monochromatic
#040D1B #0A2145 #123B7A #1A55AF #2770DF

Accessibility & contrast

On white

10.87
#123B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#123B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B7A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B7A#FFFFFF#000000##FFFFFF
##123B7A1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123b7a;
/* rgb */ color: rgb(18, 59, 122);
/* oklch */ color: oklch(36.4% 0.117 259.2);
Tailwind
colors: {
  custom: {
    50: '#6470a1',
    500: '#123b7a',
    950: '#000000',
  },
}
SCSS
$custom: #123b7a;
$custom-light: #6470a1;
$custom-dark: #000000;
JSON
{
  "hex": "#123b7a",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 216.346,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36351,
    "c": 0.11675,
    "h": 259.2
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#123B7A
secondary
#B08138
accent
#A837F1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #123B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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