#233A8B#233A8B

#233A8B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.138 H 267.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#233A8B
RGBrgb(35, 58, 139)
HSLhsl(227, 60%, 34%)
HSVhsv(227, 75%, 55%)
CMYKcmyk(74.8%, 58.3%, 0%, 45.5%)
CIE-LABlab(27.43, 21.04, -47.71)
CIE-LCHlch(27.43, 52.15, 293.80°)
OKLaboklab(38.22% -0.0062 -0.1376)
OKLCHoklch(38.22% 0.138 267.4)
XYZxyz(6.8648, 5.2468, 25.0720)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A8B #8B7423
analogous
#236E8B #233A8B #40238B
triadic
#233A8B #8B233A #3A8B23
tetradic
#233A8B #8B236E #8B7423 #238B40
square
#233A8B #8B236E #8B7423 #238B40
split-complementary
#233A8B #8B4023 #6E8B23
monochromatic
#0A1129 #17265A #233A8B #2F4EBC #5471D4

Accessibility & contrast

On white

10.25
#233A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#233A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A8B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A8B#FFFFFF#000000##FFFFFF
##233A8B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233a8b;
/* rgb */ color: rgb(35, 58, 139);
/* oklch */ color: oklch(38.2% 0.138 267.4);
Tailwind
colors: {
  custom: {
    50: '#6d6fae',
    500: '#233a8b',
    950: '#000000',
  },
}
SCSS
$custom: #233a8b;
$custom-light: #6d6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#233a8b",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 226.731,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38224,
    "c": 0.13771,
    "h": 267.4
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#233A8B
secondary
#B8A152
accent
#C045E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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