#233A8D#233A8D

#233A8D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.141 H 267.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#233A8D
RGBrgb(35, 58, 141)
HSLhsl(227, 60%, 35%)
HSVhsv(227, 75%, 55%)
CMYKcmyk(75.2%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.59, 21.82, -48.69)
CIE-LCHlch(27.59, 53.35, 294.14°)
OKLaboklab(38.4% -0.0062 -0.1404)
OKLCHoklch(38.4% 0.141 267.5)
XYZxyz(7.0122, 5.3058, 25.8487)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A8D #8D7623
analogous
#236F8D #233A8D #41238D
triadic
#233A8D #8D233A #3A8D23
tetradic
#233A8D #8D236F #8D7623 #238D41
square
#233A8D #8D236F #8D7623 #238D41
split-complementary
#233A8D #8D4123 #6F8D23
monochromatic
#0B122B #17265C #233A8D #2F4EBE #5571D5

Accessibility & contrast

On white

10.19
#233A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233A8D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A8D#FFFFFF#000000##FFFFFF
##233A8D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233a8d;
/* rgb */ color: rgb(35, 58, 141);
/* oklch */ color: oklch(38.4% 0.141 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e6faf',
    500: '#233a8d',
    950: '#000000',
  },
}
SCSS
$custom: #233a8d;
$custom-light: #6e6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#233a8d",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 226.981,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38397,
    "c": 0.14057,
    "h": 267.5
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#233A8D
secondary
#B9A353
accent
#C144E3
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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