#122575#122575

#122575 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.138 H 267.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#122575
RGBrgb(18, 37, 117)
HSLhsl(228, 73%, 26%)
HSVhsv(228, 85%, 46%)
CMYKcmyk(84.6%, 68.4%, 0%, 54.1%)
CIE-LABlab(18.95, 24.99, -47.72)
CIE-LCHlch(18.95, 53.87, 297.64°)
OKLaboklab(31.11% -0.0073 -0.1382)
OKLCHoklch(31.11% 0.138 267)
XYZxyz(4.1208, 2.7356, 17.1370)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122575 #756212
analogous
#125775 #122575 #311275
triadic
#122575 #751225 #257512
tetradic
#122575 #751257 #756212 #127531
square
#122575 #751257 #756212 #127531
split-complementary
#122575 #753112 #577512
monochromatic
#04081B #0A1440 #122575 #1A36AA #2448DD

Accessibility & contrast

On white

13.57
#122575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122575
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122575#FFFFFF#000000##FFFFFF
##1225751.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122575;
/* rgb */ color: rgb(18, 37, 117);
/* oklch */ color: oklch(31.1% 0.138 267.0);
Tailwind
colors: {
  custom: {
    50: '#645f9e',
    500: '#122575',
    950: '#000000',
  },
}
SCSS
$custom: #122575;
$custom-light: #645f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122575",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 228.485,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31109,
    "c": 0.13839,
    "h": 267
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#122575
secondary
#AC9537
accent
#CD38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122575

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

Preview Lab → · Contrast checker → · Palette generator →

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