#2330A7#2330A7

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

Color values

HEX#2330A7
RGBrgb(35, 48, 167)
HSLhsl(234, 65%, 40%)
HSVhsv(234, 79%, 65%)
CMYKcmyk(79%, 71.3%, 0%, 34.5%)
CIE-LABlab(27.46, 38.19, -64.76)
CIE-LCHlch(27.46, 75.18, 300.53°)
OKLaboklab(39.03% -0.0011 -0.1876)
OKLCHoklch(39.03% 0.188 269.6)
XYZxyz(8.7227, 5.2603, 37.1073)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2330A7 #A79A23
analogous
#2372A7 #2330A7 #5823A7
triadic
#2330A7 #A72330 #30A723
tetradic
#2330A7 #A72372 #A79A23 #23A758
square
#2330A7 #A72372 #A79A23 #23A758
split-complementary
#2330A7 #A75823 #72A723
monochromatic
#0E1342 #182174 #2330A7 #3343D4 #6672DF

Accessibility & contrast

On white

10.23
#2330A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2330A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2330A7
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2330A7#FFFFFF#000000##FFFFFF
##2330A71.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2330a7;
/* rgb */ color: rgb(35, 48, 167);
/* oklch */ color: oklch(39.0% 0.188 269.6);
Tailwind
colors: {
  custom: {
    50: '#7569c2',
    500: '#2330a7',
    950: '#000000',
  },
}
SCSS
$custom: #2330a7;
$custom-light: #7569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2330a7",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 234.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39035,
    "c": 0.18756,
    "h": 269.6
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2330A7

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

Preview Lab → · Contrast checker → · Palette generator →

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