#233A9A#233A9A

#233A9A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.159 H 267.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#233A9A
RGBrgb(35, 58, 154)
HSLhsl(228, 63%, 37%)
HSVhsv(228, 77%, 60%)
CMYKcmyk(77.3%, 62.3%, 0%, 39.6%)
CIE-LABlab(28.68, 26.86, -54.88)
CIE-LCHlch(28.68, 61.10, 296.08°)
OKLaboklab(39.55% -0.006 -0.1586)
OKLCHoklch(39.55% 0.159 267.8)
XYZxyz(8.0369, 5.7156, 31.2452)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A9A #9A8323
analogous
#23769A #233A9A #47239A
triadic
#233A9A #9A233A #3A9A23
tetradic
#233A9A #9A2376 #9A8323 #239A47
square
#233A9A #9A2376 #9A8323 #239A47
split-complementary
#233A9A #9A4723 #769A23
monochromatic
#0C1436 #182768 #233A9A #2E4DCC #5D75DA

Accessibility & contrast

On white

9.80
#233A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#233A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A9A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A9A#FFFFFF#000000##FFFFFF
##233A9A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233a9a;
/* rgb */ color: rgb(35, 58, 154);
/* oklch */ color: oklch(39.6% 0.159 267.8);
Tailwind
colors: {
  custom: {
    50: '#716fb9',
    500: '#233a9a',
    950: '#000000',
  },
}
SCSS
$custom: #233a9a;
$custom-light: #716fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#233a9a",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 228.403,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39553,
    "c": 0.15871,
    "h": 267.8
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#233A9A
secondary
#BFAB5A
accent
#C642E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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