#2330A5#2330A5

#2330A5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.185 H 269.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2330A5
RGBrgb(35, 48, 165)
HSLhsl(234, 65%, 39%)
HSVhsv(234, 79%, 65%)
CMYKcmyk(78.8%, 70.9%, 0%, 35.3%)
CIE-LABlab(27.26, 37.47, -63.89)
CIE-LCHlch(27.26, 74.07, 300.39°)
OKLaboklab(38.83% -0.0009 -0.185)
OKLCHoklch(38.83% 0.185 269.7)
XYZxyz(8.5393, 5.1869, 36.1411)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2330A5 #A59823
analogous
#2371A5 #2330A5 #5723A5
triadic
#2330A5 #A52330 #30A523
tetradic
#2330A5 #A52371 #A59823 #23A557
square
#2330A5 #A52371 #A59823 #23A557
split-complementary
#2330A5 #A55723 #71A523
monochromatic
#0E1340 #182173 #2330A5 #3242D3 #6470DE

Accessibility & contrast

On white

10.31
#2330A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2330A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2330A5
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2330A5#FFFFFF#000000##FFFFFF
##2330A51.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2330a5;
/* rgb */ color: rgb(35, 48, 165);
/* oklch */ color: oklch(38.8% 0.185 269.7);
Tailwind
colors: {
  custom: {
    50: '#7569c1',
    500: '#2330a5',
    950: '#000000',
  },
}
SCSS
$custom: #2330a5;
$custom-light: #7569c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2330a5",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 234,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.18501,
    "h": 269.7
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#2330A5
secondary
#C4BA60
accent
#D740E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2330A5

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

Preview Lab → · Contrast checker → · Palette generator →

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