#2230BC#2230BC

#2230BC is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.214 H 268.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2230BC
RGBrgb(34, 48, 188)
HSLhsl(235, 69%, 44%)
HSVhsv(235, 82%, 74%)
CMYKcmyk(81.9%, 74.5%, 0%, 26.3%)
CIE-LABlab(29.62, 45.46, -73.74)
CIE-LCHlch(29.62, 86.62, 301.65°)
OKLaboklab(41.22% -0.0048 -0.2137)
OKLCHoklch(41.22% 0.214 268.7)
XYZxyz(10.7906, 6.0835, 48.1727)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2230BC #BCAE22
analogous
#227DBC #2230BC #6122BC
triadic
#2230BC #BC2230 #30BC22
tetradic
#2230BC #BC227D #BCAE22 #22BC61
square
#2230BC #BC227D #BCAE22 #22BC61
split-complementary
#2230BC #BC6122 #7DBC22
monochromatic
#0F1654 #192388 #2230BC #3F4DDC #737DE6

Accessibility & contrast

On white

9.47
#2230BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2230BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2230BC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2230BC#FFFFFF#000000##FFFFFF
##2230BC1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#003EBA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2230bc;
/* rgb */ color: rgb(34, 48, 188);
/* oklch */ color: oklch(41.2% 0.214 268.7);
Tailwind
colors: {
  custom: {
    50: '#7b6ad2',
    500: '#2230bc',
    950: '#000000',
  },
}
SCSS
$custom: #2230bc;
$custom-light: #7b6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2230bc",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 234.545,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41223,
    "c": 0.21373,
    "h": 268.7
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#2230BC
secondary
#CDC46D
accent
#DC3CEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2230BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2230BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva