#233DA1#233DA1

#233DA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.165 H 267.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#233DA1
RGBrgb(35, 61, 161)
HSLhsl(228, 64%, 38%)
HSVhsv(228, 78%, 63%)
CMYKcmyk(78.3%, 62.1%, 0%, 36.9%)
CIE-LABlab(30.08, 27.53, -56.85)
CIE-LCHlch(30.08, 63.16, 295.84°)
OKLaboklab(40.78% -0.008 -0.1643)
OKLCHoklch(40.78% 0.165 267.2)
XYZxyz(8.7927, 6.2670, 34.4576)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233DA1 #A18723
analogous
#237CA1 #233DA1 #4823A1
triadic
#233DA1 #A1233D #3DA123
tetradic
#233DA1 #A1237C #A18723 #23A148
square
#233DA1 #A1237C #A18723 #23A148
split-complementary
#233DA1 #A14823 #7CA123
monochromatic
#0D173C #182A6F #233DA1 #2F51D2 #627BDD

Accessibility & contrast

On white

9.32
#233DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#233DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233DA1
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233DA1#FFFFFF#000000##FFFFFF
##233DA11.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233da1;
/* rgb */ color: rgb(35, 61, 161);
/* oklch */ color: oklch(40.8% 0.165 267.2);
Tailwind
colors: {
  custom: {
    50: '#7372be',
    500: '#233da1',
    950: '#000000',
  },
}
SCSS
$custom: #233da1;
$custom-light: #7372be;
$custom-dark: #000000;
JSON
{
  "hex": "#233da1",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 227.619,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40775,
    "c": 0.16454,
    "h": 267.2
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#233DA1
secondary
#C2AD5E
accent
#C541E7
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233DA1

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

Preview Lab → · Contrast checker → · Palette generator →

#233DA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva