#2330A8#2330A8

#2330A8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.189 H 269.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2330A8
RGBrgb(35, 48, 168)
HSLhsl(234, 66%, 40%)
HSVhsv(234, 79%, 66%)
CMYKcmyk(79.2%, 71.4%, 0%, 34.1%)
CIE-LABlab(27.57, 38.55, -65.20)
CIE-LCHlch(27.57, 75.74, 300.59°)
OKLaboklab(39.14% -0.0013 -0.1888)
OKLCHoklch(39.14% 0.189 269.6)
XYZxyz(8.8155, 5.2974, 37.5961)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2330A8 #A89B23
analogous
#2373A8 #2330A8 #5823A8
triadic
#2330A8 #A82330 #30A823
tetradic
#2330A8 #A82373 #A89B23 #23A858
square
#2330A8 #A82373 #A89B23 #23A858
split-complementary
#2330A8 #A85823 #73A823
monochromatic
#0E1343 #182275 #2330A8 #3443D5 #6672DF

Accessibility & contrast

On white

10.20
#2330A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2330A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2330A8
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2330A8#FFFFFF#000000##FFFFFF
##2330A81.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2330a8;
/* rgb */ color: rgb(35, 48, 168);
/* oklch */ color: oklch(39.1% 0.189 269.6);
Tailwind
colors: {
  custom: {
    50: '#7669c3',
    500: '#2330a8',
    950: '#000000',
  },
}
SCSS
$custom: #2330a8;
$custom-light: #7669c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2330a8",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 234.135,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39139,
    "c": 0.18882,
    "h": 269.6
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#2330A8
secondary
#C5BB62
accent
#D83FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2330A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2330A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva