#123075#123075

#123075 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.124 H 263.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#123075
RGBrgb(18, 48, 117)
HSLhsl(222, 73%, 26%)
HSVhsv(222, 85%, 46%)
CMYKcmyk(84.6%, 59%, 0%, 54.1%)
CIE-LABlab(22.04, 17.14, -42.67)
CIE-LCHlch(22.04, 45.99, 291.88°)
OKLaboklab(33.41% -0.0142 -0.1232)
OKLCHoklch(33.41% 0.124 263.4)
XYZxyz(4.5161, 3.5263, 17.2688)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123075 #755712
analogous
#126275 #123075 #261275
triadic
#123075 #751230 #307512
tetradic
#123075 #751262 #755712 #127526
square
#123075 #751262 #755712 #127526
split-complementary
#123075 #752612 #627512
monochromatic
#040B1B #0A1A40 #123075 #1A46AA #245CDD

Accessibility & contrast

On white

12.31
#123075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#123075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123075
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123075#FFFFFF#000000##FFFFFF
##1230751.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123075;
/* rgb */ color: rgb(18, 48, 117);
/* oklch */ color: oklch(33.4% 0.124 263.4);
Tailwind
colors: {
  custom: {
    50: '#63679d',
    500: '#123075',
    950: '#000000',
  },
}
SCSS
$custom: #123075;
$custom-light: #63679d;
$custom-dark: #000000;
JSON
{
  "hex": "#123075",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 117
  },
  "hsl": {
    "h": 221.818,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.12407,
    "h": 263.4
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#123075
secondary
#AC8837
accent
#B838F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123075

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

Preview Lab → · Contrast checker → · Palette generator →

#123075 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva