#2236AF#2236AF

#2236AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.191 H 268.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2236AF
RGBrgb(34, 54, 175)
HSLhsl(231, 67%, 41%)
HSVhsv(231, 81%, 69%)
CMYKcmyk(80.6%, 69.1%, 0%, 31.4%)
CIE-LABlab(29.59, 37.24, -66.06)
CIE-LCHlch(29.59, 75.83, 299.41°)
OKLaboklab(40.8% -0.0056 -0.1913)
OKLCHoklch(40.8% 0.191 268.3)
XYZxyz(9.7140, 6.0724, 41.2093)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2236AF #AF9B22
analogous
#227CAF #2236AF #5422AF
triadic
#2236AF #AF2236 #36AF22
tetradic
#2236AF #AF227C #AF9B22 #22AF54
square
#2236AF #AF227C #AF9B22 #22AF54
split-complementary
#2236AF #AF5422 #7CAF22
monochromatic
#0E1649 #18267C #2236AF #364DD8 #697BE2

Accessibility & contrast

On white

9.48
#2236AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2236AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2236AF
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2236AF#FFFFFF#000000##FFFFFF
##2236AF1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2236af;
/* rgb */ color: rgb(34, 54, 175);
/* oklch */ color: oklch(40.8% 0.191 268.3);
Tailwind
colors: {
  custom: {
    50: '#776dc8',
    500: '#2236af',
    950: '#000000',
  },
}
SCSS
$custom: #2236af;
$custom-light: #776dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2236af",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 231.489,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40804,
    "c": 0.19143,
    "h": 268.3
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#2236AF
secondary
#C8BA65
accent
#D23DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2236AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2236AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva