#233B8A#233B8A

#233B8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.135 H 267.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#233B8A
RGBrgb(35, 59, 138)
HSLhsl(226, 60%, 34%)
HSVhsv(226, 75%, 54%)
CMYKcmyk(74.6%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.63, 19.96, -46.77)
CIE-LCHlch(27.63, 50.85, 293.11°)
OKLaboklab(38.35% -0.0071 -0.1348)
OKLCHoklch(38.35% 0.135 267)
XYZxyz(6.8429, 5.3195, 24.7060)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B8A #8A7223
analogous
#236F8A #233B8A #3E238A
triadic
#233B8A #8A233B #3B8A23
tetradic
#233B8A #8A236F #8A7223 #238A3E
square
#233B8A #8A236F #8A7223 #238A3E
split-complementary
#233B8A #8A3E23 #6F8A23
monochromatic
#0A1128 #172659 #233B8A #2F50BB #5472D4

Accessibility & contrast

On white

10.17
#233B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#233B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B8A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B8A#FFFFFF#000000##FFFFFF
##233B8A1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233b8a;
/* rgb */ color: rgb(35, 59, 138);
/* oklch */ color: oklch(38.3% 0.135 267.0);
Tailwind
colors: {
  custom: {
    50: '#6d70ad',
    500: '#233b8a',
    950: '#000000',
  },
}
SCSS
$custom: #233b8a;
$custom-light: #6d70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233b8a",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 226.019,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.13497,
    "h": 267
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#233B8A
secondary
#B7A051
accent
#BE45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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