#233D9B#233D9B

#233D9B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.156 H 267.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#233D9B
RGBrgb(35, 61, 155)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 77%, 61%)
CMYKcmyk(77.4%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.56, 25.22, -54.05)
CIE-LCHlch(29.56, 59.64, 295.01°)
OKLaboklab(40.24% -0.008 -0.1561)
OKLCHoklch(40.24% 0.156 267.1)
XYZxyz(8.2762, 6.0604, 31.7376)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D9B #9B8123
analogous
#23799B #233D9B #45239B
triadic
#233D9B #9B233D #3D9B23
tetradic
#233D9B #9B2379 #9B8123 #239B45
square
#233D9B #9B2379 #9B8123 #239B45
split-complementary
#233D9B #9B4523 #799B23
monochromatic
#0C1637 #182969 #233D9B #2E51CD #5E79DB

Accessibility & contrast

On white

9.49
#233D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#233D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D9B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D9B#FFFFFF#000000##FFFFFF
##233D9B1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233d9b;
/* rgb */ color: rgb(35, 61, 155);
/* oklch */ color: oklch(40.2% 0.156 267.1);
Tailwind
colors: {
  custom: {
    50: '#7172b9',
    500: '#233d9b',
    950: '#000000',
  },
}
SCSS
$custom: #233d9b;
$custom-light: #7172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233d9b",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 227,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40235,
    "c": 0.15634,
    "h": 267.1
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#233D9B
secondary
#BFA95A
accent
#C342E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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