#2330B1#2330B1

#2330B1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.200 H 269.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2330B1
RGBrgb(35, 48, 177)
HSLhsl(235, 67%, 42%)
HSVhsv(235, 80%, 69%)
CMYKcmyk(80.2%, 72.9%, 0%, 30.6%)
CIE-LABlab(28.50, 41.73, -69.06)
CIE-LCHlch(28.50, 80.69, 301.14°)
OKLaboklab(40.09% -0.0024 -0.2001)
OKLCHoklch(40.09% 0.2 269.3)
XYZxyz(9.6832, 5.6444, 42.1656)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2330B1 #B1A423
analogous
#2377B1 #2330B1 #5D23B1
triadic
#2330B1 #B12330 #30B123
tetradic
#2330B1 #B12377 #B1A423 #23B15D
square
#2330B1 #B12377 #B1A423 #23B15D
split-complementary
#2330B1 #B15D23 #77B123
monochromatic
#0F144B #19227E #2330B1 #3948D8 #6C77E2

Accessibility & contrast

On white

9.86
#2330B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2330B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2330B1
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2330B1#FFFFFF#000000##FFFFFF
##2330B11.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2330b1;
/* rgb */ color: rgb(35, 48, 177);
/* oklch */ color: oklch(40.1% 0.200 269.3);
Tailwind
colors: {
  custom: {
    50: '#7869ca',
    500: '#2330b1',
    950: '#000000',
  },
}
SCSS
$custom: #2330b1;
$custom-light: #7869ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2330b1",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 234.507,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.20008,
    "h": 269.3
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#2330B1
secondary
#C8BF68
accent
#DA3EEA
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2330B1

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

Preview Lab → · Contrast checker → · Palette generator →

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