#2230A9#2230A9

#2230A9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.190 H 269.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2230A9
RGBrgb(34, 48, 169)
HSLhsl(234, 67%, 40%)
HSVhsv(234, 80%, 66%)
CMYKcmyk(79.9%, 71.6%, 0%, 33.7%)
CIE-LABlab(27.62, 38.82, -65.71)
CIE-LCHlch(27.62, 76.32, 300.57°)
OKLaboklab(39.2% -0.0024 -0.1903)
OKLCHoklch(39.2% 0.19 269.3)
XYZxyz(8.8756, 5.3175, 38.0870)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2230A9 #A99B22
analogous
#2273A9 #2230A9 #5822A9
triadic
#2230A9 #A92230 #30A922
tetradic
#2230A9 #A92273 #A99B22 #22A958
square
#2230A9 #A92273 #A99B22 #22A958
split-complementary
#2230A9 #A95822 #73A922
monochromatic
#0D1343 #182276 #2230A9 #3243D6 #6572E0

Accessibility & contrast

On white

10.18
#2230A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2230A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2230A9
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2230A9#FFFFFF#000000##FFFFFF
##2230A91.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2230a9;
/* rgb */ color: rgb(34, 48, 169);
/* oklch */ color: oklch(39.2% 0.190 269.3);
Tailwind
colors: {
  custom: {
    50: '#7669c4',
    500: '#2230a9',
    950: '#000000',
  },
}
SCSS
$custom: #2230a9;
$custom-light: #7669c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2230a9",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 233.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.19035,
    "h": 269.3
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#2230A9
secondary
#C5BB61
accent
#D83EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2230A9

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

Preview Lab → · Contrast checker → · Palette generator →

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