#223785#223785

#223785 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.133 H 267.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#223785
RGBrgb(34, 55, 133)
HSLhsl(227, 59%, 33%)
HSVhsv(227, 74%, 52%)
CMYKcmyk(74.4%, 58.6%, 0%, 47.8%)
CIE-LABlab(26.06, 20.63, -46.21)
CIE-LCHlch(26.06, 50.61, 294.05°)
OKLaboklab(37.03% -0.005 -0.1332)
OKLCHoklch(37.03% 0.133 267.8)
XYZxyz(6.2580, 4.7653, 22.7757)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223785 #857022
analogous
#226885 #223785 #3F2285
triadic
#223785 #852237 #378522
tetradic
#223785 #852268 #857022 #22853F
square
#223785 #852268 #857022 #22853F
split-complementary
#223785 #853F22 #688522
monochromatic
#090F24 #162354 #223785 #2E4BB6 #4F6BD2

Accessibility & contrast

On white

10.75
#223785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223785
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223785#FFFFFF#000000##FFFFFF
##2237851.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223785;
/* rgb */ color: rgb(34, 55, 133);
/* oklch */ color: oklch(37.0% 0.133 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c6da9',
    500: '#223785',
    950: '#000000',
  },
}
SCSS
$custom: #223785;
$custom-light: #6c6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#223785",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 227.273,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3703,
    "c": 0.13332,
    "h": 267.8
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#223785
secondary
#B69F4D
accent
#C145E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223785

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

Preview Lab → · Contrast checker → · Palette generator →

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