#233A9B#233A9B

#233A9B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.160 H 267.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#233A9B
RGBrgb(35, 58, 155)
HSLhsl(229, 63%, 37%)
HSVhsv(229, 77%, 61%)
CMYKcmyk(77.4%, 62.6%, 0%, 39.2%)
CIE-LABlab(28.77, 27.24, -55.34)
CIE-LCHlch(28.77, 61.69, 296.21°)
OKLaboklab(39.65% -0.006 -0.16)
OKLCHoklch(39.65% 0.16 267.9)
XYZxyz(8.1205, 5.7491, 31.6857)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A9B #9B8423
analogous
#23769B #233A9B #48239B
triadic
#233A9B #9B233A #3A9B23
tetradic
#233A9B #9B2376 #9B8423 #239B48
square
#233A9B #9B2376 #9B8423 #239B48
split-complementary
#233A9B #9B4823 #769B23
monochromatic
#0C1537 #182769 #233A9B #2E4DCD #5E76DB

Accessibility & contrast

On white

9.77
#233A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#233A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A9B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A9B#FFFFFF#000000##FFFFFF
##233A9B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233a9b;
/* rgb */ color: rgb(35, 58, 155);
/* oklch */ color: oklch(39.6% 0.160 267.9);
Tailwind
colors: {
  custom: {
    50: '#7170b9',
    500: '#233a9b',
    950: '#000000',
  },
}
SCSS
$custom: #233a9b;
$custom-light: #7170b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233a9b",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 228.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39645,
    "c": 0.16008,
    "h": 267.9
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#233A9B
secondary
#BFAC5A
accent
#C742E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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