#123A75#123A75

#123A75 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.111 H 258.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#123A75
RGBrgb(18, 58, 117)
HSLhsl(216, 73%, 26%)
HSVhsv(216, 85%, 46%)
CMYKcmyk(84.6%, 50.4%, 0%, 54.1%)
CIE-LABlab(25.07, 9.97, -37.76)
CIE-LCHlch(25.07, 39.06, 284.79°)
OKLaboklab(35.72% -0.0219 -0.1086)
OKLCHoklch(35.72% 0.111 258.6)
XYZxyz(4.9722, 4.4385, 17.4208)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A75 #754D12
analogous
#126C75 #123A75 #1C1275
triadic
#123A75 #75123A #3A7512
tetradic
#123A75 #75126C #754D12 #12751C
square
#123A75 #75126C #754D12 #12751C
split-complementary
#123A75 #751C12 #6C7512
monochromatic
#040D1B #0A2040 #123A75 #1A54AA #246FDD

Accessibility & contrast

On white

11.12
#123A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#123A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A75
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A75#FFFFFF#000000##FFFFFF
##123A751.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184077
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123a75;
/* rgb */ color: rgb(18, 58, 117);
/* oklch */ color: oklch(35.7% 0.111 258.6);
Tailwind
colors: {
  custom: {
    50: '#626f9d',
    500: '#123a75',
    950: '#000000',
  },
}
SCSS
$custom: #123a75;
$custom-light: #626f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123a75",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 117
  },
  "hsl": {
    "h": 215.758,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35715,
    "c": 0.11078,
    "h": 258.6
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#123A75
secondary
#AC7D37
accent
#A638F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123A75

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

Preview Lab → · Contrast checker → · Palette generator →

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