#223074#223074

#223074 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.118 H 270.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#223074
RGBrgb(34, 48, 116)
HSLhsl(230, 55%, 29%)
HSVhsv(230, 71%, 45%)
CMYKcmyk(70.7%, 58.6%, 0%, 54.5%)
CIE-LABlab(22.70, 18.86, -40.92)
CIE-LCHlch(22.70, 45.06, 294.74°)
OKLaboklab(34.09% 0.0004 -0.1178)
OKLCHoklch(34.09% 0.118 270.2)
XYZxyz(4.8680, 3.7145, 16.9800)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223074 #746622
analogous
#225974 #223074 #3D2274
triadic
#223074 #742230 #307422
tetradic
#223074 #742259 #746622 #22743D
square
#223074 #742259 #746622 #22743D
split-complementary
#223074 #743D22 #597422
monochromatic
#070A18 #141C45 #223074 #3044A3 #475DC9

Accessibility & contrast

On white

12.05
#223074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#223074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223074
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223074#FFFFFF#000000##FFFFFF
##2230741.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #223074;
/* rgb */ color: rgb(34, 48, 116);
/* oklch */ color: oklch(34.1% 0.118 270.2);
Tailwind
colors: {
  custom: {
    50: '#68689d',
    500: '#223074',
    950: '#000000',
  },
}
SCSS
$custom: #223074;
$custom-light: #68689d;
$custom-dark: #000000;
JSON
{
  "hex": "#223074",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 229.756,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34085,
    "c": 0.11777,
    "h": 270.2
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#223074
secondary
#A7974B
accent
#C54ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223074

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

Preview Lab → · Contrast checker → · Palette generator →

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