#233A7B#233A7B

#233A7B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.114 H 266.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#233A7B
RGBrgb(35, 58, 123)
HSLhsl(224, 56%, 31%)
HSVhsv(224, 72%, 48%)
CMYKcmyk(71.5%, 52.8%, 0%, 51.8%)
CIE-LABlab(26.19, 14.75, -39.71)
CIE-LCHlch(26.19, 42.36, 290.37°)
OKLaboklab(36.91% -0.0075 -0.114)
OKLCHoklch(36.91% 0.114 266.2)
XYZxyz(5.7801, 4.8129, 19.3594)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A7B #7B6423
analogous
#23667B #233A7B #38237B
triadic
#233A7B #7B233A #3A7B23
tetradic
#233A7B #7B2366 #7B6423 #237B38
square
#233A7B #7B2366 #7B6423 #237B38
split-complementary
#233A7B #7B3823 #667B23
monochromatic
#080D1C #15244B #233A7B #3150AB #4C6ECC

Accessibility & contrast

On white

10.70
#233A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#233A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A7B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A7B#FFFFFF#000000##FFFFFF
##233A7B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233a7b;
/* rgb */ color: rgb(35, 58, 123);
/* oklch */ color: oklch(36.9% 0.114 266.2);
Tailwind
colors: {
  custom: {
    50: '#6a6fa2',
    500: '#233a7b',
    950: '#000000',
  },
}
SCSS
$custom: #233a7b;
$custom-light: #6a6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#233a7b",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 224.318,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.11428,
    "h": 266.2
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#233A7B
secondary
#AE944C
accent
#B849DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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