#233B8D#233B8D

#233B8D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.139 H 267.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#233B8D
RGBrgb(35, 59, 141)
HSLhsl(226, 60%, 35%)
HSVhsv(226, 75%, 55%)
CMYKcmyk(75.2%, 58.2%, 0%, 44.7%)
CIE-LABlab(27.87, 21.13, -48.24)
CIE-LCHlch(27.87, 52.66, 293.66°)
OKLaboklab(38.6% -0.0069 -0.1391)
OKLCHoklch(38.6% 0.139 267.1)
XYZxyz(7.0631, 5.4076, 25.8657)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B8D #8D7523
analogous
#23708D #233B8D #40238D
triadic
#233B8D #8D233B #3B8D23
tetradic
#233B8D #8D2370 #8D7523 #238D40
square
#233B8D #8D2370 #8D7523 #238D40
split-complementary
#233B8D #8D4023 #708D23
monochromatic
#0B122B #17265C #233B8D #2F50BE #5572D5

Accessibility & contrast

On white

10.09
#233B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#233B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B8D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B8D#FFFFFF#000000##FFFFFF
##233B8D1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233b8d;
/* rgb */ color: rgb(35, 59, 141);
/* oklch */ color: oklch(38.6% 0.139 267.1);
Tailwind
colors: {
  custom: {
    50: '#6e70af',
    500: '#233b8d',
    950: '#000000',
  },
}
SCSS
$custom: #233b8d;
$custom-light: #6e70af;
$custom-dark: #000000;
JSON
{
  "hex": "#233b8d",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 226.415,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38604,
    "c": 0.13926,
    "h": 267.1
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#233B8D
secondary
#B9A253
accent
#BF44E3
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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