#2235AF#2235AF

#2235AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.193 H 268.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2235AF
RGBrgb(34, 53, 175)
HSLhsl(232, 67%, 41%)
HSVhsv(232, 81%, 69%)
CMYKcmyk(80.6%, 69.7%, 0%, 31.4%)
CIE-LABlab(29.36, 37.87, -66.44)
CIE-LCHlch(29.36, 76.48, 299.68°)
OKLaboklab(40.64% -0.0052 -0.1925)
OKLCHoklch(40.64% 0.193 268.5)
XYZxyz(9.6680, 5.9803, 41.1939)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2235AF #AF9C22
analogous
#227BAF #2235AF #5522AF
triadic
#2235AF #AF2235 #35AF22
tetradic
#2235AF #AF227B #AF9C22 #22AF55
square
#2235AF #AF227B #AF9C22 #22AF55
split-complementary
#2235AF #AF5522 #7BAF22
monochromatic
#0E1649 #18257C #2235AF #364CD8 #697AE2

Accessibility & contrast

On white

9.56
#2235AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2235AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2235AF
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2235AF#FFFFFF#000000##FFFFFF
##2235AF1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2235af;
/* rgb */ color: rgb(34, 53, 175);
/* oklch */ color: oklch(40.6% 0.193 268.5);
Tailwind
colors: {
  custom: {
    50: '#776cc8',
    500: '#2235af',
    950: '#000000',
  },
}
SCSS
$custom: #2235af;
$custom-light: #776cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2235af",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 231.915,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.19253,
    "h": 268.5
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2235AF

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

Preview Lab → · Contrast checker → · Palette generator →

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