#223097#223097

#223097 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.167 H 269.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#223097
RGBrgb(34, 48, 151)
HSLhsl(233, 63%, 36%)
HSVhsv(233, 77%, 59%)
CMYKcmyk(77.5%, 68.2%, 0%, 40.8%)
CIE-LABlab(25.83, 32.26, -57.73)
CIE-LCHlch(25.83, 66.13, 299.20°)
OKLaboklab(37.35% -0.0006 -0.167)
OKLCHoklch(37.35% 0.167 269.8)
XYZxyz(7.3006, 4.6876, 29.7922)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223097 #978922
analogous
#226B97 #223097 #4F2297
triadic
#223097 #972230 #309722
tetradic
#223097 #97226B #978922 #22974F
square
#223097 #97226B #978922 #22974F
split-complementary
#223097 #974F22 #6B9722
monochromatic
#0C1033 #172065 #223097 #2D40C9 #5A69DA

Accessibility & contrast

On white

10.84
#223097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#223097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223097
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223097#FFFFFF#000000##FFFFFF
##2230971.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223097;
/* rgb */ color: rgb(34, 48, 151);
/* oklch */ color: oklch(37.4% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#7168b7',
    500: '#223097',
    950: '#000000',
  },
}
SCSS
$custom: #223097;
$custom-light: #7168b7;
$custom-dark: #000000;
JSON
{
  "hex": "#223097",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 232.821,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37355,
    "c": 0.16705,
    "h": 269.8
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#223097
secondary
#BEB257
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223097

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

Preview Lab → · Contrast checker → · Palette generator →

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