#2230A0#2230A0

#2230A0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.179 H 269.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2230A0
RGBrgb(34, 48, 160)
HSLhsl(233, 65%, 38%)
HSVhsv(233, 79%, 63%)
CMYKcmyk(78.8%, 70%, 0%, 37.3%)
CIE-LABlab(26.71, 35.57, -61.77)
CIE-LCHlch(26.71, 71.28, 299.94°)
OKLaboklab(38.27% -0.0014 -0.1788)
OKLCHoklch(38.27% 0.179 269.6)
XYZxyz(8.0596, 4.9911, 33.7895)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2230A0 #A09222
analogous
#226FA0 #2230A0 #5322A0
triadic
#2230A0 #A02230 #30A022
tetradic
#2230A0 #A0226F #A09222 #22A053
square
#2230A0 #A0226F #A09222 #22A053
split-complementary
#2230A0 #A05322 #6FA022
monochromatic
#0D123B #17216E #2230A0 #2D3FD2 #5F6DDD

Accessibility & contrast

On white

10.51
#2230A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2230A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2230A0
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2230A0#FFFFFF#000000##FFFFFF
##2230A01.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2230a0;
/* rgb */ color: rgb(34, 48, 160);
/* oklch */ color: oklch(38.3% 0.179 269.6);
Tailwind
colors: {
  custom: {
    50: '#7369bd',
    500: '#2230a0',
    950: '#000000',
  },
}
SCSS
$custom: #2230a0;
$custom-light: #7369bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2230a0",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 233.333,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.17886,
    "h": 269.6
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#2230A0
secondary
#C2B75C
accent
#D540E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2230A0

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

Preview Lab → · Contrast checker → · Palette generator →

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