#223262#223262

#223262 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.087 H 267.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#223262
RGBrgb(34, 50, 98)
HSLhsl(225, 48%, 26%)
HSVhsv(225, 65%, 38%)
CMYKcmyk(65.3%, 49%, 0%, 61.6%)
CIE-LABlab(21.95, 10.38, -30.50)
CIE-LCHlch(21.95, 32.22, 288.80°)
OKLaboklab(33.09% -0.0036 -0.0871)
OKLCHoklch(33.09% 0.087 267.6)
XYZxyz(4.0041, 3.5028, 12.0180)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223262 #625222
analogous
#225262 #223262 #322262
triadic
#223262 #622232 #326222
tetradic
#223262 #622252 #625222 #226232
square
#223262 #622252 #625222 #226232
split-complementary
#223262 #623222 #526222
monochromatic
#080C17 #121B35 #223262 #32498F #4260BD

Accessibility & contrast

On white

12.35
#223262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#223262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223262
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223262#FFFFFF#000000##FFFFFF
##2232621.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3864
Deuteranopia (green-blind)
#113261
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #223262;
/* rgb */ color: rgb(34, 50, 98);
/* oklch */ color: oklch(33.1% 0.087 267.6);
Tailwind
colors: {
  custom: {
    50: '#64698f',
    500: '#223262',
    950: '#000000',
  },
}
SCSS
$custom: #223262;
$custom-light: #64698f;
$custom-dark: #000000;
JSON
{
  "hex": "#223262",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 225,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.08716,
    "h": 267.6
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#223262
secondary
#96834A
accent
#B650D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #223262

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

Preview Lab → · Contrast checker → · Palette generator →

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